DockerCLI/cli/command
Sebastiaan van Stijn d9294f06b5
info: remove printSecurityOptionsWarnings, printServerWarnings
Docker Engine 1.13 (API v1.25) added an option to set a custom default seccomp
profile on the daemon (see [moby/moby@b237189]). A warning was added on the
client-side if a non-default profile was set.

Docker Engine 23.0 (API v1.42) added warnings about non-default seccomp
profiles to the "info" response ([moby/moby@04f932a]), and the client was
updated to skip generating client-side warnings for API v1.42 and up in
[docker/cli@8964595].

These warnings are purely informational, and given that Docker Engine versions
before 23.0 have reached EOL, and any current version of the Engine now returns
the Warnings, it should be safe to remove the client-side fall back logic.

This patch removes the client-side fall back code for warnings that was
added in 8964595692.

[moby/moby@b237189]: b237189e6c
[moby/moby@04f932a]: 04f932ac86
[docker/cli@8964595]: 8964595692

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-01-23 18:23:35 +01:00
..
builder Plumb contexts through commands 2023-12-12 22:30:16 +01:00
checkpoint Plumb contexts through commands 2023-12-12 22:30:16 +01:00
commands remove exec, push, pull, ps, images, info from "legacy" commands 2022-04-08 16:55:39 +02:00
completion vendor: github.com/docker/docker cdb3f9fb8dca (v25.0.0-dev) 2023-10-13 22:09:04 +02:00
config add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
container cli/command/container: remove deprecated NewStartOptions 2024-01-20 21:48:46 +01:00
context add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
formatter add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
idresolver add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
image change back nolint -> nosec 2024-01-03 15:33:16 +01:00
inspect add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
manifest Plumb contexts through commands 2023-12-12 22:30:16 +01:00
network add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
node add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
plugin add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
registry Plumb contexts through commands 2023-12-12 22:30:16 +01:00
secret add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
service add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
stack add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
swarm Plumb contexts through commands 2023-12-12 22:30:16 +01:00
system info: remove printSecurityOptionsWarnings, printServerWarnings 2024-01-23 18:23:35 +01:00
task linting: address slice-append issues found by gocritic 2023-11-20 16:02:17 +01:00
testdata Dynamically register kubernetes context store endpoint type. 2019-05-20 13:28:11 +01:00
trust add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
volume add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
cli.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
cli_options.go cli/command: remove deprecated DockerCliOption, InitializeOpt 2024-01-20 21:39:32 +01:00
cli_options_test.go golangci-lint: enable thelper linter 2023-11-20 16:02:17 +01:00
cli_test.go cli/command: initialize client and load content lazily 2022-11-28 16:52:02 +01:00
context.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
context_test.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
defaultcontextstore.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
defaultcontextstore_test.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
events_utils.go vendor: github.com/docker/docker 7abd7fa73965 (v25.0.0-dev) 2023-09-05 13:43:35 +02:00
registry.go migrate reference github.com/distribution/reference 2023-09-05 17:53:20 +02:00
registry_test.go cli/command: remove dot-imports and unhandled errors 2023-10-23 15:21:47 +02:00
trust.go Refactor content_trust cli/flags handling 2018-03-08 15:00:43 -05:00
utils.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
utils_test.go format go with gofumpt (with -lang=1.19) 2022-09-30 19:14:36 +02:00