DockerCLI/cmd/docker
Sebastiaan van Stijn 35b5ac3b88
cmd/docker: areFlagsSupported: don't Ping if not needed
This is a similar fix as 006c946389, which
fixed this for detection of commands that were executed. Make sure we don't
call the "/_ping" endpoint if we don't need to.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit bb57783ab8)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-22 10:47:14 +02:00
..
winresources Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00
aliases.go build: set default context builder if not specified 2022-11-04 08:42:34 +01:00
builder.go Handle empty DOCKER_BUILDKIT like unset 2023-04-19 15:53:40 +02:00
builder_test.go cmd/docker: fix typo in deprecation warning 2022-12-19 13:03:28 +01:00
builder_windows_test.go build: set default context builder if not specified 2022-11-04 08:42:34 +01:00
completions.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
docker.go cmd/docker: areFlagsSupported: don't Ping if not needed 2023-08-22 10:47:14 +02:00
docker_test.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
docker_windows_386.go Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00
docker_windows_amd64.go Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00
docker_windows_arm.go Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00
docker_windows_arm64.go Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00