1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix mount opts error message.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2016-06-29 15:14:55 -04:00
parent 1e7ba55494
commit c8659d3cc5

View file

@ -217,7 +217,7 @@ func (m *MountOpt) Set(value string) error {
} }
setValueOnMap(volumeOptions().DriverConfig.Options, value) setValueOnMap(volumeOptions().DriverConfig.Options, value)
default: default:
return fmt.Errorf("unexpected key '%s' in '%s'", key, value) return fmt.Errorf("unexpected key '%s' in '%s'", key, field)
} }
} }