DockerCLI/command/volume
Yong Tang 49e49e8e00 Use ListOpt for `docker network create --label` and `docker volume create --label`
This fix is related to 27049 and 27047. For `--label` flag, if string slice is
used (like 27047), then quote can not be used in command and will result in
an error :
```
line 1, column 14: bare " in non-quoted-field
```

The issue 27047 has been fixed by 27049.

Recently I found out that both `docker network create --label` and `docker volume create --label`
still use string slice and will return the same error when quotes are used.

This fix fixes `docker network create --label` and `docker volume create --label`
by using `ListOpt` (as 27049) as well.

This fix has been tested and verified manually.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-10-12 16:06:34 -07:00
..
cmd.go Add subcommand prune to the container, volume, image and system commands 2016-09-29 07:42:53 -07:00
create.go Use ListOpt for `docker network create --label` and `docker volume create --label` 2016-10-12 16:06:34 -07:00
inspect.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
list.go Fix testcases that expect trailing whitespace 2016-09-13 17:58:12 -04:00
prune.go better prune and system df 2016-10-11 00:42:21 +08:00
remove.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00