Move quota options to a config group.
As suggested in John Garbutt in I7e1986c5f11356060cc9db12605b1322c39e79c0, move the quota config options into a config group of their own. Change-Id: Ie06a370868f01fb9a1cc246a77d7823fac83e70e
This commit is contained in:
committed by
Maciej Szankin
parent
aba18ab045
commit
17b33495e4
@@ -4510,7 +4510,7 @@ def _security_group_ensure_default(context):
|
|||||||
context.user_id,
|
context.user_id,
|
||||||
'security_groups',
|
'security_groups',
|
||||||
1, 0,
|
1, 0,
|
||||||
CONF.until_refresh,
|
CONF.quota.until_refresh,
|
||||||
context.session)
|
context.session)
|
||||||
else:
|
else:
|
||||||
usage.update({'in_use': int(usage.first().in_use) + 1})
|
usage.update({'in_use': int(usage.first().in_use) + 1})
|
||||||
|
|||||||
Reference in New Issue
Block a user