Files
docker-cli/components/engine/cli/command
Aaron Lehmann 5bf8eb9536 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>
Upstream-commit: 02cc464e1ab0a8fcebfd10db95bcde654d901391
Component: engine
2016-09-26 10:12:24 +01:00
..
2016-09-08 15:46:29 -04:00
2016-09-22 14:42:06 -04:00
2016-09-08 15:46:29 -04:00
2016-09-08 15:46:29 -04:00
2016-09-22 14:42:06 -04:00
2016-09-08 15:46:29 -04:00
2016-09-09 15:50:01 -04:00
2016-09-08 15:46:29 -04:00
2016-09-19 10:34:31 -07:00
2016-09-08 15:46:29 -04:00