DockerCLI/cli/command/system
Sebastiaan van Stijn cd68c8f003
docker info: fix condition for printing debug information
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 92d7a234dd)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-06-30 15:15:38 +02:00
..
testdata docker info: don't print "registry" (IndexServerAddress) 2023-04-13 14:49:14 +02:00
client_test.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
cmd.go Revert "Disable `docker system dial-stdio` on Windows" 2019-03-12 14:57:52 +00:00
df.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
dial_stdio.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
events.go format code with gofumpt 2022-09-30 11:59:11 +02:00
info.go docker info: fix condition for printing debug information 2023-06-30 15:15:38 +02:00
info_test.go cli/command/system: add utilities for printing 2023-05-02 16:55:12 +02:00
inspect.go format code with gofumpt 2022-09-30 11:59:11 +02:00
prune.go cmd: set double quotes as code delimiter 2023-01-06 19:15:33 +01:00
prune_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
version.go cli/command/system: add newClientVersion() utility 2023-04-11 18:58:41 +02:00
version_test.go fix docker version --format=json not outputting json format 2023-04-10 14:29:14 +02:00