moby/cli/command
Vincent Demeester 158388ef8d
Do not panic if network is nil
network is `nil` if the following case:

```
services:
  foo:
    image: nginx
    networks:
      mynetwork:
```

It's a valid compose so we should not panic.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-11-21 17:59:29 +01:00
..
bundlefile Reinstate --bundle-file argument to 'docker deploy' 2016-11-10 11:28:18 -05:00
checkpoint refactor help func in CLI 2016-11-17 10:54:10 -08:00
commands secrets: secret management for swarm 2016-11-09 14:27:43 -05:00
container Merge pull request #28347 from yongtang/28339-ignore-unkwnon-field-template 2016-11-17 15:13:02 -08:00
formatter Merge pull request #28538 from yongtang/11162016-Log-Logf-fix 2016-11-17 15:21:22 -05:00
idresolver service ps: Truncate Task IDs 2016-11-08 16:17:15 -08:00
image Merge pull request #28354 from ripcurld00d/tag_creation 2016-11-18 13:02:40 +01:00
inspect add endpoint mode in service pretty 2016-09-27 18:41:19 +08:00
network refactor help func in CLI 2016-11-17 10:54:10 -08:00
node refactor help func in CLI 2016-11-17 10:54:10 -08:00
plugin refactor help func in CLI 2016-11-17 10:54:10 -08:00
prune add docker network prune 2016-10-25 06:43:54 +00:00
registry Planned 1.13 deprecation: email from login 2016-11-11 17:32:46 -08:00
secret refactor help func in CLI 2016-11-17 10:54:10 -08:00
service Merge pull request #28539 from nishanttotla/pin-image-digest-ux 2016-11-21 14:06:37 +01:00
stack Do not panic if network is nil 2016-11-21 17:59:29 +01:00
swarm refactor help func in CLI 2016-11-17 10:54:10 -08:00
system refactor help func in CLI 2016-11-17 10:54:10 -08:00
task Suppressing digest for docker service ls/ps 2016-11-18 09:39:34 -08:00
volume refactor help func in CLI 2016-11-17 10:54:10 -08:00
cli.go refactor help func in CLI 2016-11-17 10:54:10 -08:00
events_utils.go Add subcommand prune to the container, volume, image and system commands 2016-09-29 07:42:53 -07:00
in.go Fix the incorrect description for NewInStream 2016-10-13 22:33:09 +08: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 return nil when no node or service to avoid additional api call 2016-10-11 10:59:16 +08:00