mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
Add expanded mount syntax to Compose schema and types.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 5a39df474b
Component: cli
This commit is contained in:
committed by
Vincent Demeester
parent
e6a6e884b0
commit
95324d952c
@@ -102,7 +102,7 @@ func (m *MountOpt) Set(value string) error {
|
||||
case "volume-nocopy":
|
||||
volumeOptions().NoCopy, err = strconv.ParseBool(value)
|
||||
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":
|
||||
setValueOnMap(volumeOptions().Labels, value)
|
||||
|
||||
Reference in New Issue
Block a user