Skip to content

Conversation

@fuweid
Copy link
Contributor

@fuweid fuweid commented May 2, 2018

Should show QuotaId instead of QuotaID.

Signed-off-by: Wei Fu [email protected]

Ⅰ. Describe what this PR did

Align with existing system: change QuotaID to QuotaId.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it

NONE

Ⅳ. Describe how to verify it

➜  pouch create --disk-quota=1g --quota-id=123 busybox:latest
40601016760b939592c66c0f0c7600c22285923273b95f1a0ab0138399662cc7
➜  pouch inspect 40601016760b939592c66c0f0c7600c22285923273b95f1a0ab0138399662cc7 | grep Quota
            "DiskQuota": {
            "QuotaId": "123"

Ⅴ. Special notes for reviews

@pouchrobot pouchrobot added kind/bug This is bug report for project size/M labels May 2, 2018
@codecov-io
Copy link

codecov-io commented May 2, 2018

Codecov Report

Merging #1263 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1263      +/-   ##
==========================================
- Coverage   15.26%   15.24%   -0.02%     
==========================================
  Files         172      172              
  Lines       10699    10711      +12     
==========================================
  Hits         1633     1633              
- Misses       8946     8958      +12     
  Partials      120      120
Impacted Files Coverage Δ
cli/inspect.go 0% <0%> (ø) ⬆️
daemon/mgr/spec_hook.go 0% <0%> (ø) ⬆️

@fuweid fuweid requested a review from HusterWan May 2, 2018 10:34
cli/inspect.go Outdated
QuotaID string `json:"QuotaId,omitempty"`
}

// convContainerJSONToInspectContainerJSON convs ContainerJSON into inspectContainerJSON.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

%s/convs/converts

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HusterWan the conv is common used to represent the convert. I think it is ok here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh. I see. it is the comment...

Should show QuotaId instead of QuotaID.

Signed-off-by: Wei Fu <[email protected]>
@HusterWan
Copy link
Contributor

LGTM

@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label May 2, 2018
@HusterWan HusterWan merged commit d9422c3 into AliyunContainerService:master May 2, 2018
@fuweid fuweid deleted the bugfix_align_with_exisiting_system_about_quotaid branch August 3, 2018 02:52
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/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants