diff --git a/api/client/service/opts.go b/api/client/service/opts.go index 8b982ca257..52cf2bb5d6 100644 --- a/api/client/service/opts.go +++ b/api/client/service/opts.go @@ -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) }