DockerCLI/cli/command/system/testdata
Sebastiaan van Stijn a71d39bcad
info: remove printServerWarningsLegacy
Docker Engine 18.09 (API v1.39) introduced a Warnings field in the into response.
This enhancement was not gated by API version (see [moby/moby@a3d4238]), and
will be returned by Docker Engine 18.09 and up, regardless of the API version
chosen.

Likewise, the client-side code was written to prefer warnings returned by
the daemon, but to fall back on client-side detection of missing features
based on information in the Info response (see [docker/cli@3c27ce2]).

Thse warnings are purely informational, and given that Docker Engine versions
before 18.09 have reached EOL 6 Years ago, 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 3c27ce21c9.

[moby/moby@a3d4238]: a3d4238b9c
[docker/cli@3c27ce2]: 3c27ce21c9

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-01-20 20:45:59 +01:00
..
docker-client-version.golden remove "Experimental" client field from "docker version" 2022-04-08 15:48:00 +02:00
docker-client-version.json.golden cli/command/system: add platformInfo type, and fix "omitempty" 2023-04-11 18:58:39 +02:00
docker-events-default.golden cli/command/system: fix "docker events" not supporting --format=json 2023-08-29 14:48:49 +02:00
docker-events-json-action.golden cli/command/system: fix "docker events" not supporting --format=json 2023-08-29 14:48:49 +02:00
docker-events-json-template.golden cli/command/system: fix "docker events" not supporting --format=json 2023-08-29 14:48:49 +02:00
docker-events-json.golden cli/command/system: fix "docker events" not supporting --format=json 2023-08-29 14:48:49 +02:00
docker-info-badsec-stderr.golden info: print errors to stderr 2021-07-13 11:43:32 +02:00
docker-info-badsec.golden cli/command: remove "logentries" driver from tests and fixtures 2023-12-13 13:18:16 +01:00
docker-info-badsec.json.golden cli/command: remove "logentries" driver from tests and fixtures 2023-12-13 13:18:16 +01:00
docker-info-daemon-warnings.json.golden cli/command: remove "logentries" driver from tests and fixtures 2023-12-13 13:18:16 +01:00
docker-info-errors-stderr.golden info: print errors to stderr 2021-07-13 11:43:32 +02:00
docker-info-errors.golden info: print errors to stderr 2021-07-13 11:43:32 +02:00
docker-info-errors.json.golden Separate client and daemon info in `docker system info` 2019-01-25 14:38:04 +00:00
docker-info-no-swarm.golden cli/command: remove "logentries" driver from tests and fixtures 2023-12-13 13:18:16 +01:00
docker-info-no-swarm.json.golden cli/command: remove "logentries" driver from tests and fixtures 2023-12-13 13:18:16 +01:00
docker-info-plugins-warnings.golden Integrate CLI plugins into `docker info` 2019-01-30 13:45:26 +00:00
docker-info-plugins.golden cli/command: remove "logentries" driver from tests and fixtures 2023-12-13 13:18:16 +01:00
docker-info-plugins.json.golden cli/command: remove "logentries" driver from tests and fixtures 2023-12-13 13:18:16 +01:00
docker-info-warnings.golden printServerWarningsLegacy: silence "No kernel memory limit support" 2021-05-04 19:17:11 +09:00
docker-info-with-labels-empty.golden cli/command: remove "logentries" driver from tests and fixtures 2023-12-13 13:18:16 +01:00
docker-info-with-labels-nil.golden cli/command: remove "logentries" driver from tests and fixtures 2023-12-13 13:18:16 +01:00
docker-info-with-swarm.golden cli/command: remove "logentries" driver from tests and fixtures 2023-12-13 13:18:16 +01:00
docker-info-with-swarm.json.golden cli/command: remove "logentries" driver from tests and fixtures 2023-12-13 13:18:16 +01:00