mirror of https://github.com/docker/cli.git
Add expanded mount syntax to Compose schema and types.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
ce42bb22a3
commit
5a39df474b
|
@ -102,7 +102,7 @@ func (m *MountOpt) Set(value string) error {
|
||||||
case "volume-nocopy":
|
case "volume-nocopy":
|
||||||
volumeOptions().NoCopy, err = strconv.ParseBool(value)
|
volumeOptions().NoCopy, err = strconv.ParseBool(value)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("invalid value for populate: %s", value)
|
return fmt.Errorf("invalid value for volume-nocopy: %s", value)
|
||||||
}
|
}
|
||||||
case "volume-label":
|
case "volume-label":
|
||||||
setValueOnMap(volumeOptions().Labels, value)
|
setValueOnMap(volumeOptions().Labels, value)
|
||||||
|
|
Loading…
Reference in New Issue