Fix english grammar in the quota error messages.
The first one was already correct, but the verb was missing from the minimum- and maximum-related errors. Change-Id: I41a80db5d405e9882e356be4bb75ef26724f9824
This commit is contained in:
@@ -253,10 +253,10 @@ class ProjectCommands(object):
|
||||
return(2)
|
||||
if ((int(value) < minimum) and
|
||||
(maximum != -1 or (maximum == -1 and int(value) != -1))):
|
||||
print(_('Quota limit must greater than %s.') % minimum)
|
||||
print(_('Quota limit must be greater than %s.') % minimum)
|
||||
return(2)
|
||||
if maximum != -1 and int(value) > maximum:
|
||||
print(_('Quota limit must less than %s.') % maximum)
|
||||
print(_('Quota limit must be less than %s.') % maximum)
|
||||
return(2)
|
||||
try:
|
||||
db.quota_create(ctxt, project_id, key, value,
|
||||
|
||||
Reference in New Issue
Block a user