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 Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
checkpoint Make all the experimental subcommand consistent. 2016-09-19 16:27:23 -04:00
commands Merge pull request #26716 from dnephin/move-system-commands 2016-09-20 15:54:01 +02:00
container Refactor to new events api 2016-09-22 14:42:06 -04:00
formatter cli: Add more nil checking to service pretty-printer 2016-09-26 10:12:24 +01:00
idresolver Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
image Merge pull request #26516 from yongtang/26453-build-bad-syntax 2016-09-23 12:24:20 +02:00
inspect Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
network Only hide commands if the env variable is set. 2016-09-19 13:28:15 -04:00
node Merge pull request #26299 from allencloud/support-docker-node-ps-multi-nodes 2016-09-23 09:50:24 +02:00
plugin Make all the experimental subcommand consistent. 2016-09-19 16:27:23 -04:00
registry Move the search command to the registry package. 2016-09-19 13:28:15 -04:00
service Merge pull request #25025 from cpuguy83/service_inspect_formatter 2016-09-20 14:49:45 +02:00
stack Make all the experimental subcommand consistent. 2016-09-19 16:27:23 -04:00
swarm Clarify usage of --force when used on a swarm manager 2016-09-21 13:05:33 -07:00
system Refactor to new events api 2016-09-22 14:42:06 -04:00
task Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
volume Only hide commands if the env variable is set. 2016-09-19 13:28:15 -04:00
cli.go Remove RetrieveAuthConfigs 2016-09-09 15:50:01 -04:00
in.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
out.go Windows: OCI process struct convergence 2016-09-19 10:34:31 -07:00
registry.go Remove remaining registry methods from DockerCLI. 2016-09-09 15:50:01 -04:00
trust.go Move image trust related cli methods into the image package. 2016-09-09 10:50:16 -04:00
utils.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00