Skip to content

Commit 4e6d208

Browse files
authored
adding missing memory unit to map (#283)
1 parent 69ea766 commit 4e6d208

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

kubernetes/utils.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,6 +1051,7 @@ func normalizeMemoryToBytes(memory string) (int64, error) {
10511051

10521052
// Unit multipliers for memory
10531053
var memoryUnits = map[string]float64{
1054+
"m": 1e-3,
10541055
"B": 1,
10551056
"Ki": math.Pow(2, 10),
10561057
"Mi": math.Pow(2, 20),

0 commit comments

Comments
 (0)