DockerCLI/cli/command/system/testdata
Sebastiaan van Stijn f914316a97
fix docker version --format=json not outputting json format
The --format=json option was added for all inspect commands, but was not
implemented for "docker version". This patch implements the missing option.

Before this patch:

    docker version --format=json
    json

With this patch:

    docker version --format=json
    {"Client":{"Platform":{"Name":""},"Version":"24.0.0-dev","ApiVersion":"..."}}

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 23bd746c43)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-04-26 12:12:25 +02: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 fix docker version --format=json not outputting json format 2023-04-26 12:12:25 +02:00
docker-info-badsec-stderr.golden info: print errors to stderr 2021-07-13 11:43:32 +02:00
docker-info-badsec.golden info: print errors to stderr 2021-07-13 11:43:32 +02:00
docker-info-badsec.json.golden vendor: github.com/docker/docker 8941dcfcc5db4aefc351cd5b5bb4d524823035c0 2022-03-28 17:21:59 +02:00
docker-info-daemon-warnings.json.golden vendor: github.com/docker/docker 8941dcfcc5db4aefc351cd5b5bb4d524823035c0 2022-03-28 17:21:59 +02: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-legacy-warnings.json.golden vendor: github.com/docker/docker 8941dcfcc5db4aefc351cd5b5bb4d524823035c0 2022-03-28 17:21:59 +02:00
docker-info-no-swarm.golden Add DefaultAddressPools to docker info output #40388 2020-07-22 01:45:30 +08:00
docker-info-no-swarm.json.golden vendor: github.com/docker/docker 8941dcfcc5db4aefc351cd5b5bb4d524823035c0 2022-03-28 17:21:59 +02:00
docker-info-plugins-warnings.golden Integrate CLI plugins into `docker info` 2019-01-30 13:45:26 +00:00
docker-info-plugins.golden info: update plugin section to show installed path 2022-06-01 12:46:07 +02:00
docker-info-plugins.json.golden vendor: github.com/docker/docker 8941dcfcc5db4aefc351cd5b5bb4d524823035c0 2022-03-28 17:21:59 +02: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 info: fix output including "Labels:" if no labels were set 2022-06-05 14:44:08 +02:00
docker-info-with-labels-nil.golden info: fix output including "Labels:" if no labels were set 2022-06-05 14:44:08 +02:00
docker-info-with-swarm.golden Add DefaultAddressPools to docker info output #40388 2020-07-22 01:45:30 +08:00
docker-info-with-swarm.json.golden vendor: github.com/docker/docker 8941dcfcc5db4aefc351cd5b5bb4d524823035c0 2022-03-28 17:21:59 +02:00