Merge "fix: fix the add value of zun quota"

This commit is contained in:
Zuul 2022-08-10 02:28:57 +00:00 committed by Gerrit Code Review
commit 62379a9a36

View File

@ -159,6 +159,11 @@ export class StepCreate extends StepAction {
if (left === -1) {
return '';
}
if (left === 0) {
return t('Quota: Insufficient { name } quota to create resources.', {
name,
});
}
if (input > left) {
return t(
'Insufficient {name} quota to create resources(left { quota }, input { input }).',