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>
(cherry picked from commit 56051b8)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
akerouanton authored and thaJeztah committed Feb 6, 2023
1 parent e92dd87 commit 53ed25d
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 53ed25d

Please sign in to comment.