Fix bad ThrottleDevice path

Fixes moby/moby#44904.

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
This commit is contained in:
Albin Kerouanton 2023-02-03 11:39:40 +01:00
parent e92dd87c32
commit 56051b84b0
No known key found for this signature in database
GPG Key ID: 630B8E1DCBDB1864
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ func ValidateThrottleBpsDevice(val string) (*blkiodev.ThrottleDevice, error) {
}
return &blkiodev.ThrottleDevice{
Path: v,
Path: k,
Rate: uint64(rate),
}, nil
}