mirror of https://github.com/docker/cli.git
Merge pull request #3999 from akerouanton/fix/throttledevice-key
Fix bad ThrottleDevice path
This commit is contained in:
commit
a04dee2638
|
@ -31,7 +31,7 @@ func ValidateThrottleBpsDevice(val string) (*blkiodev.ThrottleDevice, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return &blkiodev.ThrottleDevice{
|
return &blkiodev.ThrottleDevice{
|
||||||
Path: v,
|
Path: k,
|
||||||
Rate: uint64(rate),
|
Rate: uint64(rate),
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue