浏览代码

Merge pull request #29793 from thaJeztah/improve-run-usage-output

Improve usage output for docker run
Sebastiaan van Stijn 8 年之前
父节点
当前提交
f199fadc7a
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      opts/throttledevice.go
  2. 1 1
      opts/weightdevice.go

+ 1 - 1
opts/throttledevice.go

@@ -107,5 +107,5 @@ func (opt *ThrottledeviceOpt) GetList() []*blkiodev.ThrottleDevice {
 
 // Type returns the option type
 func (opt *ThrottledeviceOpt) Type() string {
-	return "throttled-device"
+	return "list"
 }

+ 1 - 1
opts/weightdevice.go

@@ -85,5 +85,5 @@ func (opt *WeightdeviceOpt) GetList() []*blkiodev.WeightDevice {
 
 // Type returns the option type
 func (opt *WeightdeviceOpt) Type() string {
-	return "weighted-device"
+	return "list"
 }