-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Condense output of compose top
#12391
base: main
Are you sure you want to change the base?
Conversation
This is a first draft. The tests could be a bit more exhaustive (i.e. mocking Looking at the test cases now, I also think it should ensure to reorder the CMD column to the end. |
f26757a
to
8a28bee
Compare
8a28bee
to
19dd355
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a comment regarding service vs container name
b0c36fb
to
9b0c720
Compare
This changes the output format of `compose top` and inlines the service container name into the table. Previously, `compose top` had printed something like: <service name> UID PID ... root 1 ... Now, the output looks more like this: SERVICE UID PID ... <name> root 1 ... Signed-off-by: Dominik Menke <[email protected]>
Signed-off-by: Dominik Menke <[email protected]>
Signed-off-by: Dominik Menke <[email protected]>
Signed-off-by: Dominik Menke <[email protected]>
9b0c720
to
489d8b8
Compare
I've also taken the opportunity to:
|
What I did
This changes the output format of
compose top
and inlines the service container name into the table.Previously,
compose top
had printed something like:Now, the output looks more like this:
Related issue
Closes #12381
Baby mountain goat on rock, CC-by-sa Shaundd, WP:Commons