Merge "Update 'unlimited' quota value to '-1' in db"
This commit is contained in:
commit
68d1274ee8
@ -227,7 +227,7 @@ class ProjectCommands(object):
|
||||
ctxt = context.get_admin_context()
|
||||
if key:
|
||||
if value.lower() == 'unlimited':
|
||||
value = None
|
||||
value = -1
|
||||
try:
|
||||
db.quota_update(ctxt, project_id, key, value)
|
||||
except exception.ProjectQuotaNotFound:
|
||||
|
Loading…
Reference in New Issue
Block a user