moby--moby/cli/command/network
Yong Tang e3f484241d 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 Only hide commands if the env variable is set. 2016-09-19 13:28:15 -04:00
connect.go
create.go Use ListOpt for `docker network create --label` and `docker volume create --label` 2016-10-12 16:06:34 -07:00
disconnect.go
inspect.go
list.go Fix testcases that expect trailing whitespace 2016-09-13 17:58:12 -04:00
remove.go