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

remove useless break statement #2838

Merged
merged 1 commit into from
May 13, 2019
Merged

Conversation

rudyfly
Copy link
Collaborator

@rudyfly rudyfly commented May 13, 2019

Ⅰ. Describe what this PR did

remove useless break statement

Ⅱ. Does this pull request fix one issue?

fixes #2804

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)

NA

Ⅳ. Describe how to verify it

NA

Ⅴ. Special notes for reviews

Signed-off-by: Rudy Zhang rudyflyzhang@gmail.com

Signed-off-by: Rudy Zhang <rudyflyzhang@gmail.com>
@codecov
Copy link

codecov bot commented May 13, 2019

Codecov Report

Merging #2838 into master will increase coverage by 0.08%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2838      +/-   ##
==========================================
+ Coverage      69%   69.09%   +0.08%     
==========================================
  Files         285      285              
  Lines       17824    17823       -1     
==========================================
+ Hits        12300    12315      +15     
+ Misses       4119     4104      -15     
+ Partials     1405     1404       -1
Flag Coverage Δ
#criv1alpha2_test 39.04% <ø> (+0.04%) ⬆️
#integration_test_0 36.61% <ø> (-0.01%) ⬇️
#integration_test_1 35.41% <ø> (+0.09%) ⬆️
#integration_test_2 36.61% <ø> (+0.08%) ⬆️
#integration_test_3 35.46% <ø> (+0.02%) ⬆️
#node_e2e_test 34.77% <ø> (-0.05%) ⬇️
#unittest 28.57% <ø> (ø) ⬆️
Impacted Files Coverage Δ
storage/quota/quota.go 10.69% <ø> (+0.04%) ⬆️
daemon/logger/crilog/log.go 79.71% <0%> (-2.9%) ⬇️
daemon/containerio/io.go 72.81% <0%> (-1.95%) ⬇️
cri/v1alpha2/cri.go 68.81% <0%> (-0.51%) ⬇️
ctrd/container.go 54.68% <0%> (+0.76%) ⬆️
daemon/mgr/container_utils.go 77.77% <0%> (+1.01%) ⬆️
ctrd/supervisord/daemon.go 50.67% <0%> (+1.35%) ⬆️
pkg/meta/store.go 68.99% <0%> (+1.55%) ⬆️
cri/ocicni/netns.go 60.81% <0%> (+2.7%) ⬆️
pkg/system/system.go 71.42% <0%> (+2.85%) ⬆️
... and 1 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Useless break statement
3 participants