DockerCLI/cli/command/system
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
..
testdata info: remove printServerWarningsLegacy 2024-01-20 20:45:59 +01:00
client_test.go cli/command/system: fix "docker events" not supporting --format=json 2023-08-29 14:48:49 +02:00
cmd.go Revert "Disable `docker system dial-stdio` on Windows" 2019-03-12 14:57:52 +00:00
df.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
dial_stdio.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
events.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
events_test.go linting: Consider pre-allocating sliceVar (prealloc) 2023-11-20 16:02:16 +01:00
info.go info: remove printSecurityOptionsWarnings, printServerWarnings 2024-01-23 18:23:35 +01:00
info_test.go info: remove printServerWarningsLegacy 2024-01-20 20:45:59 +01:00
inspect.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
prune.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
prune_test.go prune: fix build cache prune warning 2023-12-05 20:11:15 +01:00
version.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
version_test.go fix docker version --format=json not outputting json format 2023-04-10 14:29:14 +02:00