diff --git a/lib/generic/generic.go b/lib/generic/generic.go index d452fb4c..e734ee18 100644 --- a/lib/generic/generic.go +++ b/lib/generic/generic.go @@ -318,13 +318,13 @@ func (v Value) SizeInBytes() uint64 { case "kb": base *= 1024 case "mb": - base *= 1024 * 1024 * 1024 + base *= 1024 * 1024 case "gb": - base *= 1024 * 1024 * 1024 * 1024 + base *= 1024 * 1024 * 1024 case "tb": - base *= 1024 * 1024 * 1024 * 1024 * 1024 + base *= 1024 * 1024 * 1024 * 1024 case "eb": - base *= 1024 * 1024 * 1024 * 1024 * 1024 * 1024 + base *= 1024 * 1024 * 1024 * 1024 * 1024 } return base