DockerCLI/command/system
Aaron Lehmann e6445629d7 api: Omit Cluster, Nodes, and Managers from swarm info when unavailable
Currently these fields are included in the response JSON with zero
values. It's better not to include them if the information is
unavailable (for example, on a worker node).

This turns Cluster into a pointer so that it can be left out.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-03-28 14:20:25 -07:00
..
cmd.go refactor help func in CLI 2016-11-17 10:54:10 -08:00
df.go always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
events.go Move templates to pkg/templates 2016-12-12 09:34:03 +01:00
info.go api: Omit Cluster, Nodes, and Managers from swarm info when unavailable 2017-03-28 14:20:25 -07:00
inspect.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
prune.go Add `--filter until=<timestamp>` for `docker container/image prune` 2017-01-04 14:16:42 -08:00
version.go Move templates to pkg/templates 2016-12-12 09:34:03 +01:00