Browse Source

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

Improve usage output for docker run
Sebastiaan van Stijn 8 years ago
parent
commit
f199fadc7a
2 changed files with 2 additions and 2 deletions
  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"
 }