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:
@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user