Files
docker-cli/cli/command/system/testdata/docker-info-plugins-warnings.golden
Ian Campbell 1c576e9043 Integrate CLI plugins into docker info
Fairly straight forward. It became necessary to wrap `Plugin.Err` with a type
which implements `encoding.MarshalText` in order to have that field rendered
properly in the `docker info -f '{{json}}'` output.

Since I changed the type somewhat I also added a unit test for `formatInfo`.

Signed-off-by: Ian Campbell <ijc@docker.com>
2019-01-30 13:45:26 +00:00

2 lines
74 B
Plaintext

WARNING: Plugin "/path/to/docker-badplugin" is not valid: something wrong