Skip to content

Conversation

@HusterWan
Copy link
Contributor

Signed-off-by: Michael Wan [email protected]

Ⅰ. Describe what this PR did

add top interface

Ⅱ. Does this pull request fix one issue?

fixes #867

Ⅲ. Describe how you did it

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@allencloud
Copy link
Collaborator

Since #881 has been merged, please rebase to the latest branch and push back again. Thanks. @HusterWan

@HusterWan HusterWan force-pushed the zr/add-top-interface branch 3 times, most recently from 0438216 to 34aea35 Compare March 13, 2018 03:25
Signed-off-by: Michael Wan <[email protected]>
@HusterWan HusterWan force-pushed the zr/add-top-interface branch from 34aea35 to 7c6890c Compare March 13, 2018 07:14
@codecov-io
Copy link

Codecov Report

Merging #878 into master will decrease coverage by 0.06%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #878      +/-   ##
==========================================
- Coverage   14.62%   14.55%   -0.07%     
==========================================
  Files         115      116       +1     
  Lines        6940     6973      +33     
==========================================
  Hits         1015     1015              
- Misses       5839     5872      +33     
  Partials       86       86
Impacted Files Coverage Δ
cli/top.go 0% <0%> (ø)
client/container.go 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d3c2f20...7c6890c. Read the comment docs.


container := args[0]

arguments := args[1:]
Copy link
Collaborator

@allencloud allencloud Mar 13, 2018

Choose a reason for hiding this comment

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

You add Args: cobra.ExactArgs(1),
So arguments := args[1:] is meaningless.
I think inconsistency happens.
Please correct this in the following PR.

@allencloud
Copy link
Collaborator

LGTM

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

Labels

kind/feature 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.

[feature required] need API /containers/(id or name)/top

4 participants