Selaa lähdekoodia

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

Improve usage output for docker run
Sebastiaan van Stijn 8 vuotta sitten
vanhempi
commit
f199fadc7a
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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
 // Type returns the option type
 func (opt *ThrottledeviceOpt) Type() string {
 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
 // Type returns the option type
 func (opt *WeightdeviceOpt) Type() string {
 func (opt *WeightdeviceOpt) Type() string {
-	return "weighted-device"
+	return "list"
 }
 }