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

refactor: move config file from cli into one places #1597

Merged
merged 1 commit into from
Jun 27, 2018
Merged

refactor: move config file from cli into one places #1597

merged 1 commit into from
Jun 27, 2018

Conversation

Ace-Tang
Copy link
Contributor

move config file cli/ulimit.go, cli/blkio.go, config/opt/runtime.go
to apis/opts/config, put all user defined flag var type into one places.

Signed-off-by: Ace-Tang aceapril@126.com

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

move config file cli/ulimit.go, cli/blkio.go, config/opt/runtime.go
to apis/opts/config, put all user defined flag var type into one places.

Signed-off-by: Ace-Tang <aceapril@126.com>
@codecov-io
Copy link

codecov-io commented Jun 27, 2018

Codecov Report

Merging #1597 into master will increase coverage by 2.19%.
The diff coverage is 9.09%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #1597      +/-   ##
=========================================
+ Coverage    39.4%   41.6%   +2.19%     
=========================================
  Files         184     268      +84     
  Lines       14446   17408    +2962     
=========================================
+ Hits         5692    7242    +1550     
- Misses       7869    9271    +1402     
- Partials      885     895      +10
Impacted Files Coverage Δ
apis/opts/config/runtime.go 66.66% <ø> (ø)
apis/opts/config/ulimit.go 0% <0%> (ø)
cli/container.go 0% <0%> (ø)
apis/opts/config/blkio.go 69.66% <0%> (ø)
main.go 62.75% <100%> (ø) ⬆️
pkg/meta/store.go 54.76% <0%> (-2.39%) ⬇️
daemon/containerio/container_io.go 60.22% <0%> (-2.21%) ⬇️
daemon/mgr/system.go 73.27% <0%> (-1.73%) ⬇️
cli/stop.go 0% <0%> (ø)
client/image_inspect.go 100% <0%> (ø)
... and 130 more

@Ace-Tang Ace-Tang requested a review from allencloud June 27, 2018 04:02
@HusterWan
Copy link
Contributor

LGTM

@HusterWan HusterWan merged commit 8175d88 into AliyunContainerService:master Jun 27, 2018
@Ace-Tang Ace-Tang deleted the refactor_config branch June 28, 2018 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants