moby/cli
Aaron Lehmann 3894254ddd 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
..
command api: Omit Cluster, Nodes, and Managers from swarm info when unavailable 2017-03-28 14:20:25 -07:00
compose Do not replace fmt.Errorf in generated file 2017-03-27 18:33:41 -07:00
config Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
debug Move debug functions to cli/debug package 2016-12-12 09:33:58 +01:00
flags fix the type 2017-02-14 09:54:27 +08:00
internal/test Add --prune to stack deploy. 2017-03-14 16:09:28 -04:00
trust Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
cobra.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
error.go Remove old cli framework. 2016-08-25 13:09:04 -04:00
required.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00