diff --git a/opts/throttledevice.go b/opts/throttledevice.go index 9fb788433b52..789acf60fc56 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 }