Files
docker-cli/components/cli
Aaron Lehmann 5387d6dcb0 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>
Upstream-commit: e6445629d7
Component: cli
2017-03-28 14:20:25 -07:00
..
2017-02-14 09:54:27 +08:00
2016-08-25 13:09:04 -04:00