Merge pull request #24870 from stevvooe/volume-opt

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

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)
}