Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make json ID be Id to be compatible #1066

Merged
merged 1 commit into from
Apr 8, 2018

Conversation

allencloud
Copy link
Collaborator

Signed-off-by: Allen Sun [email protected]

Ⅰ. Describe what this PR did

We found that in Moby 1.12.6, lots of API communication uses json to wrap data. However, in Moby 1.12.6, almost all field ID is in json format Id which is one upper-case and the other is lower-case. While in the master code of Pouch, we use ID in json format. It will leads to incompatibility there. This PR tries to fix that.

Ⅱ. Does this pull request fix one issue?

fix one part of #977

Ⅲ. Describe how you did it

none

Ⅳ. Describe how to verify it

none

Ⅴ. Special notes for reviews

none

@pouchrobot pouchrobot added kind/bug This is bug report for project size/S labels Apr 8, 2018
@Letty5411 Letty5411 mentioned this pull request Apr 8, 2018
15 tasks
@allencloud allencloud changed the title fix: make json ID be Id to be compatibl fix: make json ID be Id to be compatible Apr 8, 2018
@codecov-io
Copy link

Codecov Report

Merging #1066 into master will decrease coverage by 0.51%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1066      +/-   ##
==========================================
- Coverage   16.59%   16.08%   -0.52%     
==========================================
  Files         158      158              
  Lines        8731     8694      -37     
==========================================
- Hits         1449     1398      -51     
- Misses       7178     7196      +18     
+ Partials      104      100       -4
Impacted Files Coverage Δ
client/client.go 0% <0%> (-28.58%) ⬇️
pkg/kernel/kernel.go 50% <0%> (-22.73%) ⬇️
cli/cli.go 0% <0%> (ø) ⬆️
pkg/utils/utils.go 84.41% <0%> (+1.48%) ⬆️

@allencloud
Copy link
Collaborator Author

The codecov goes crazy. 😢

@rudyfly
Copy link
Collaborator

rudyfly commented Apr 8, 2018

LGTM in network module.

@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label Apr 8, 2018
@HusterWan
Copy link
Contributor

LGTM

@HusterWan HusterWan merged commit ea31a92 into AliyunContainerService:master Apr 8, 2018
@allencloud allencloud deleted the fix-ID branch April 8, 2018 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This is bug report for project LGTM one maintainer or community participant agrees to merge the pull reuqest. size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants