SIGN IN SIGN UP

Add power-of-two equivalents support in parse_bytes builtin

Before this change the parse_bytes builtin would fail when the unit
did not contain the bytes symbol (e.g. 128Mi would fail).

With this change we also accept units without the b/B at the end.

Fixes #2340

Signed-off-by: Frederic <frederic.vanreet@icloud.com>
F
Frederic committed
45fbb7c096d16745a764717eb4f368f9ded12a68
Parent: 1ada7ed
Committed by Patrick East <east.patrick@gmail.com> on 5/18/2020, 7:14:27 PM