Merge pull request #3999 from akerouanton/fix/throttledevice-key

Fix bad ThrottleDevice path
This commit is contained in:
Sebastiaan van Stijn 2023-02-06 12:32:21 +01:00 committed by GitHub
commit a04dee2638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}