mirror of
https://github.com/docker/cli.git
synced 2026-01-06 05:41:44 +03:00
Fix bad ThrottleDevice path
Fixes moby/moby#44904. Signed-off-by: Albin Kerouanton <albinker@gmail.com>
This commit is contained in:
@@ -31,7 +31,7 @@ func ValidateThrottleBpsDevice(val string) (*blkiodev.ThrottleDevice, error) {
|
||||
}
|
||||
|
||||
return &blkiodev.ThrottleDevice{
|
||||
Path: v,
|
||||
Path: k,
|
||||
Rate: uint64(rate),
|
||||
}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user