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

[24.0 backport] docker info: fix condition for printing debug information #4393

Merged
merged 1 commit into from Jun 30, 2023

Conversation

thaJeztah
Copy link
Member

The daemon collects this information regardless if "debug" is enabled. Print the debugging information if either the daemon, or the client has debug enabled.

We should probably improve this logic and print any of these if set (but some special rules are needed for file-descriptors, which may use "-1".

(cherry picked from commit 92d7a23)

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

The daemon collects this information regardless if "debug" is
enabled. Print the debugging information if either the daemon,
or the client has debug enabled.

We should probably improve this logic and print any of these if
set (but some special rules are needed for file-descriptors, which
may use "-1".

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 92d7a23)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added this to the 24.0.3 milestone Jun 30, 2023
@thaJeztah thaJeztah merged commit fad718c into docker:24.0 Jun 30, 2023
74 checks passed
@thaJeztah thaJeztah deleted the 24.0_backport_debug_relax branch June 30, 2023 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants