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 exit code per error type used by legacy metrics system #12502

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Jan 27, 2025

What I did
removed custom exit code used to distinguish error cause and collect metrics by the legacy compose-cli

Related issue

(not mandatory) A picture of a cute animal, if possible in relation to what you did

@ndeloof ndeloof requested a review from a team as a code owner January 27, 2025 12:34
@ndeloof ndeloof requested a review from glours January 27, 2025 12:34
@ndeloof ndeloof force-pushed the metrics_error branch 3 times, most recently from bc4a15a to 4230b2f Compare January 27, 2025 13:28
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Copy link
Member

@Benehiko Benehiko left a comment

Choose a reason for hiding this comment

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

Wouldn't some scripts rely on the custom exit code?

On another note: I see compose is using the cli.StatusError type directly which won't be possible after this is merged docker/cli#5666

@ndeloof
Copy link
Contributor Author

ndeloof commented Jan 28, 2025

@Benehiko docker/cli#5666 will require some adjustment effort as we bump dependency
I'm not sure why we use StatusError directly, probably we can get rid of this as well.

@ndeloof ndeloof merged commit 23351ec into docker:main Jan 28, 2025
24 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