DockerCLI/command/formatter
Aaron Lehmann 56d92bfdff cli: Add more nil checking to service pretty-printer
Currently, if the service mode is not "global", this code assumes that
Replicated is non-nil. This assumption may not be true in the future.
Instead of making the assumption, explicitly check that Replicated is
non-nil before using it.

Similarly, for limits and reservations, enclose methods that read from
Limits and Reservations within checks that those fields are non-nil.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-09-26 10:12:24 +01:00
..
container.go Fix testcases that expect trailing whitespace 2016-09-13 17:58:12 -04:00
container_test.go Refactor formatter. 2016-09-13 17:58:12 -04:00
custom.go Refactor formatter. 2016-09-13 17:58:12 -04:00
custom_test.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
formatter.go Add formatter for service inspect 2016-09-19 16:28:19 -04:00
image.go Refactor formatter. 2016-09-13 17:58:12 -04:00
image_test.go Refactor formatter. 2016-09-13 17:58:12 -04:00
network.go Refactor formatter. 2016-09-13 17:58:12 -04:00
network_test.go Refactor formatter. 2016-09-13 17:58:12 -04:00
service.go cli: Add more nil checking to service pretty-printer 2016-09-26 10:12:24 +01:00
stats.go Add the format switch to the stats command 2016-09-18 14:16:13 +03:00
volume.go Fix testcases that expect trailing whitespace 2016-09-13 17:58:12 -04:00
volume_test.go Fix testcases that expect trailing whitespace 2016-09-13 17:58:12 -04:00