Merge pull request #24870 from stevvooe/volume-opt
api/client/service: shorten to volume-opt
This commit is contained in:
commit
31b3357c06
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue