Skip to content

Commit 56051b8

Browse files
committed
Fix bad ThrottleDevice path
Fixes moby/moby#44904. Signed-off-by: Albin Kerouanton <[email protected]>
1 parent e92dd87 commit 56051b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opts/throttledevice.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func ValidateThrottleBpsDevice(val string) (*blkiodev.ThrottleDevice, error) {
3131
}
3232

3333
return &blkiodev.ThrottleDevice{
34-
Path: v,
34+
Path: k,
3535
Rate: uint64(rate),
3636
}, nil
3737
}

0 commit comments

Comments
 (0)