reference quota options in lowercase

QUOTAS section have been renamed to quotas so reference quota options in
lowercase.

fixes bug 1182772

Change-Id: Ia08cb51deacc26620e512020b6a3c3b67185ec34
This commit is contained in:
Jiajun Liu 2013-05-22 07:28:39 +00:00
parent b28ae84068
commit 956b8739ae
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ def build_options():
def is_db_quota_enabled():
return quantum_config.QUOTAS.quota_driver == DATABASE_QUOTA_DRIVER
return quantum_config.quotas.quota_driver == DATABASE_QUOTA_DRIVER
if context.is_offline_mode():