diff --git a/opts/throttledevice.go b/opts/throttledevice.go index 9fb788433b..789acf60fc 100644 --- a/opts/throttledevice.go +++ b/opts/throttledevice.go @@ -31,7 +31,7 @@ func ValidateThrottleBpsDevice(val string) (*blkiodev.ThrottleDevice, error) { } return &blkiodev.ThrottleDevice{ - Path: v, + Path: k, Rate: uint64(rate), }, nil }