mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
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