Merge pull request #24870 from stevvooe/volume-opt

api/client/service: shorten to volume-opt
Upstream-commit: 31b3357c060156b51f1f0764e49a21e9089332e5
Component: engine
This commit is contained in:
Vincent Demeester
2016-07-21 09:36:06 +02:00
committed by GitHub

View File

@ -218,7 +218,7 @@ func (m *MountOpt) Set(value string) error {
setValueOnMap(volumeOptions().Labels, value)
case "volume-driver":
volumeOptions().DriverConfig.Name = value
case "volume-driver-opt":
case "volume-opt":
if volumeOptions().DriverConfig.Options == nil {
volumeOptions().DriverConfig.Options = make(map[string]string)
}