Skip to content

Conversation

@ZYecho
Copy link
Contributor

@ZYecho ZYecho commented Nov 26, 2018

Signed-off-by: zhangyue [email protected]

Ⅰ. Describe what this PR did

As the title desc, but just part of this issue.

Ⅱ. Does this pull request fix one issue?

ref #2495

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

just refactor, no need.

Ⅳ. Describe how to verify it

wait for CI pass.

Ⅴ. Special notes for reviews

leave some of issue, and I add more comment in the issue #2495

@codecov
Copy link

codecov bot commented Nov 26, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@401167e). Click here to learn what that means.
The diff coverage is 69.69%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2500   +/-   ##
=========================================
  Coverage          ?   69.19%           
=========================================
  Files             ?      278           
  Lines             ?    18439           
  Branches          ?        0           
=========================================
  Hits              ?    12758           
  Misses            ?     4235           
  Partials          ?     1446
Flag Coverage Δ
#criv1alpha1test 31.21% <27.27%> (?)
#criv1alpha2test 35.39% <27.27%> (?)
#integrationtest 40.57% <51.51%> (?)
#nodee2etest 32.79% <27.27%> (?)
#unittest 26.77% <46.66%> (?)
Impacted Files Coverage Δ
daemon/mgr/container.go 58.69% <ø> (ø)
pkg/user/user.go 40% <ø> (ø)
cri/stream/portforward/portforward.go 40% <ø> (ø)
daemon/mgr/container_logger.go 83.33% <ø> (ø)
registry/auth.go 55.14% <ø> (ø)
cri/criservice.go 56.62% <ø> (ø)
pkg/utils/utils.go 83.02% <ø> (ø)
cri/stream/portforward/httpstream.go 70.94% <ø> (ø)
ctrd/client.go 69.23% <ø> (ø)
pkg/meta/local.go 62.37% <0%> (ø)
... and 21 more

@ZYecho ZYecho force-pushed the fix-megacheck branch 2 times, most recently from af42b50 to bcc8b03 Compare November 26, 2018 03:25
@HusterWan
Copy link
Contributor

please rebase your pr, thanks

gid int
finger []string
userdir string
shell string
Copy link
Collaborator

Choose a reason for hiding this comment

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

please help to check whether these fields are useful in your scope. @Ace-Tang

Copy link
Contributor

Choose a reason for hiding this comment

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

The code have been changed by @rudyfly once, I think it is why make these filed unused, but the function should be fine

@allencloud
Copy link
Collaborator

Could you please make this move on ? @ZYecho
I think we need to do the field comment part.

@ZYecho ZYecho force-pushed the fix-megacheck branch 3 times, most recently from 06762b7 to 97e1db7 Compare November 30, 2018 07:39
@ZYecho
Copy link
Contributor Author

ZYecho commented Nov 30, 2018

Could you please make this move on ? @ZYecho
I think we need to do the field comment part.

Sorry for late, update.

@ZYecho ZYecho force-pushed the fix-megacheck branch 2 times, most recently from 70bfc52 to f67c866 Compare December 1, 2018 02:50
@allencloud
Copy link
Collaborator

Although all these megacheck issues are checked via tool, I still wish that we could check if the business logic is OK. @fuweid @starnop

@allencloud
Copy link
Collaborator

LGTM

@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label Dec 4, 2018
@allencloud allencloud merged commit 401e130 into AliyunContainerService:master Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/refactor LGTM one maintainer or community participant agrees to merge the pull reuqest. size/XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants