Skip to content

Commit

Permalink
Fix bad ThrottleDevice path
Browse files Browse the repository at this point in the history
Fixes moby/moby#44904.

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
  • Loading branch information
akerouanton committed Feb 3, 2023
1 parent e92dd87 commit 56051b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opts/throttledevice.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func ValidateThrottleBpsDevice(val string) (*blkiodev.ThrottleDevice, error) {
}

return &blkiodev.ThrottleDevice{
Path: v,
Path: k,
Rate: uint64(rate),
}, nil
}
Expand Down

0 comments on commit 56051b8

Please sign in to comment.