X Tutup
Skip to content

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

Merged
thaJeztah merged 1 commit intodocker:24.0from
thaJeztah:24.0_backport_debug_relax
Jun 30, 2023
Merged

[24.0 backport] docker info: fix condition for printing debug information#4393
thaJeztah merged 1 commit intodocker:24.0from
thaJeztah:24.0_backport_debug_relax

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
@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.

2 participants

X Tutup