Merge pull request #29793 from thaJeztah/improve-run-usage-output
Improve usage output for docker run Upstream-commit: f199fadc7a713932fc827c63accbd67843d17691 Component: engine
This commit is contained in:
@ -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"
|
||||
}
|
||||
|
||||
@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user