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: rename cpu-share to cpu-shares in command line #1547

Merged

Conversation

allencloud
Copy link
Collaborator

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

Ⅰ. Describe what this PR did

the related command line flag about cpu share should be --cpu-shares rather than --cpu-share.
This update would be compatible with moby's way.

Ⅱ. Does this pull request fix one issue?

none

Ⅲ. Describe how you did it

change the flag file and test

Ⅳ. Describe how to verify it

none

Ⅴ. Special notes for reviews

none

@codecov-io
Copy link

codecov-io commented Jun 19, 2018

Codecov Report

Merging #1547 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1547   +/-   ##
=======================================
  Coverage   17.68%   17.68%           
=======================================
  Files         214      214           
  Lines       14386    14386           
=======================================
  Hits         2544     2544           
  Misses      11680    11680           
  Partials      162      162
Impacted Files Coverage Δ
daemon/mgr/container_utils.go 27.65% <0%> (ø) ⬆️
cli/update.go 0% <0%> (ø) ⬆️
cli/common_flags.go 0% <0%> (ø) ⬆️

@allencloud allencloud force-pushed the rename-cpu-shares branch 2 times, most recently from 1bad528 to f47d46f Compare June 19, 2018 05:51
@Letty5411
Copy link
Contributor

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
areas/cli 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.

5 participants