fix: align all memory / storage / quota units to Gi/Mi

Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
Andy Lee
2025-02-28 22:57:54 +08:00
parent ff4a865c55
commit 8f76d5ad30
16 changed files with 51 additions and 44 deletions
@@ -121,7 +121,7 @@ export default {
memoryUnits() {
const exponent = exponentNeeded(this.memoryTotal, 1024);
return `${ UNITS[exponent] }iB`;
return `${ UNITS[exponent] }i`;
},
nodeType() {
@@ -178,7 +178,7 @@ export default {
minExponent: 3,
maxExponent: 3,
maxPrecision: 2,
suffix: 'iB',
suffix: 'i',
};
const longhornDisks = Object.keys(diskStatus).map((key) => {