Fix mount opts error message.
Signed-off-by: Daniel Nephin <dnephin@docker.com> Upstream-commit: c8659d3cc501449a69a7e0b79994b42799750f29 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