diff --git a/opts/throttledevice.go b/opts/throttledevice.go index 5024324298..65dd3ebf68 100644 --- a/opts/throttledevice.go +++ b/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" } diff --git a/opts/weightdevice.go b/opts/weightdevice.go index 2a5da6da08..7e3d064f27 100644 --- a/opts/weightdevice.go +++ b/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" }