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

Hide container/image Command details for quadlets #1963

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

jelly
Copy link
Member

@jelly jelly commented Jan 13, 2025

Quadlets have an EntryPoint and no Command so for quadlets we would have shown an empty Command which isn't terribly useful or informative.


Before:

image

@jelly jelly requested a review from tomasmatus January 13, 2025 16:25
@martinpitt
Copy link
Member

Looks good, but this isn't specific to quadlets, right? other container images may also not have a command. Can you please add a test?

@jelly
Copy link
Member Author

jelly commented Jan 13, 2025

Looks good, but this isn't specific to quadlets, right? other container images may also not have a command. Can you please add a test?

Sure, will do tomorrow. Basically for images the issue was that the Cmd was undefined for containers the whole check was missing.

Quadlets have an `EntryPoint` and no `Command` so for quadlets we would
have shown an empty `Command` which isn't terribly useful or
informative.
@jelly jelly force-pushed the quadlet-cmd-absent branch from 646ec11 to 3d5c52e Compare January 14, 2025 09:45
Copy link
Member

@tomasmatus tomasmatus left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

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

Cheers!

@martinpitt martinpitt merged commit bc94bb6 into cockpit-project:main Jan 14, 2025
33 checks passed
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