fix: stringToBps

This commit is contained in:
Toby 2022-04-14 19:53:07 -07:00
parent 877affec42
commit ba47130990

View File

@ -289,7 +289,7 @@ func stringToBps(s string) uint64 {
}
var n uint64
switch m[2] {
case "K", "k":
case "K":
n = 1 << 10
case "M":
n = 1 << 20