1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cli/command
Aaron Lehmann 02cc464e1a 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
..
bundlefile
checkpoint
commands
container
formatter cli: Add more nil checking to service pretty-printer 2016-09-26 10:12:24 +01:00
idresolver
image
inspect
network
node
plugin
registry
service
stack
swarm
system
task
volume
cli.go
in.go
out.go
registry.go
trust.go
utils.go