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/stack
Sebastiaan van Stijn 36c0b59149
fix conversion of anonymous volumes in compose-file
the `convertVolumeToMount()` function did not take
anonymous volumes into account when converting
volume specifications to bind-mounts.

this resulted in the conversion to try to
look up an empty "source" volume, which
lead to an error;

    undefined volume:

this patch distinguishes "anonymous"
volumes from bind-mounts and named-volumes,
and skips further processing if no source
is defined (i.e. the volume is "anonymous").

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-01-03 21:22:07 +01:00
..
cmd.go Move docker stack out of experimental 2016-11-21 14:47:24 -08:00
common.go stack deploy: handle external network when deploying 2016-11-30 14:10:29 -08:00
deploy.go fix conversion of anonymous volumes in compose-file 2017-01-03 21:22:07 +01:00
deploy_bundlefile.go Better error message on stack deploy against not a swarm. 2016-11-28 11:15:40 -08:00
deploy_test.go fix conversion of anonymous volumes in compose-file 2017-01-03 21:22:07 +01:00
list.go Fix several issues with go vet and go fmt 2016-11-18 15:14:49 -08:00
opts.go Add a short flag for docker stack deploy 2016-11-28 11:22:59 -08:00
ps.go Replace all "Filter" field with "Filters" for consistency 2016-11-01 23:09:30 +08:00
remove.go stack deploy: handle external network when deploying 2016-11-30 14:10:29 -08:00
services.go Replace all "Filter" field with "Filters" for consistency 2016-11-01 23:09:30 +08:00