mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-11-22 00:27:38 +08:00
fix: align all memory / storage / quota units to Gi/Mi
Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
16 files changed
+51
-44
No files matched your search
@@ -6,7 +6,7 @@ export function volumeSize(size, getters, errors, validatorArgs, displayKey, val
|
||||
}
|
||||
|
||||
if (size && !/^([0-9][0-9]{0,8})[a-zA-Z]+$/.test(size)) {
|
||||
const message = getters['i18n/t']('harvester.validation.generic.maximumSize', { max: '999999999 GiB' });
|
||||
const message = getters['i18n/t']('harvester.validation.generic.maximumSize', { max: '999999999 Gi' });
|
||||
|
||||
errors.push(message);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user