瀏覽代碼

Merge pull request #24870 from stevvooe/volume-opt

api/client/service: shorten to volume-opt
Vincent Demeester 9 年之前
父節點
當前提交
31b3357c06
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/client/service/opts.go

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