mirror of
https://github.com/docker/cli.git
synced 2026-09-26 17:30:51 -04:00
Merge pull request #24135 from dnephin/fix_error_message
Fix mount opts error message Upstream-commit: 55d9c49f920b4752337cee959cbc24b5d1b7ee5a Component: engine
This commit is contained in:
@@ -217,7 +217,7 @@ func (m *MountOpt) Set(value string) error {
|
||||
}
|
||||
setValueOnMap(volumeOptions().DriverConfig.Options, value)
|
||||
default:
|
||||
return fmt.Errorf("unexpected key '%s' in '%s'", key, value)
|
||||
return fmt.Errorf("unexpected key '%s' in '%s'", key, field)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user