incorrect description in nova-api.log about quota check
Change an argument related to logging for user quota check because debug-level log shows only tenant quota even if user quota is defined. Change-Id: I07f5852077775041e36316d689f9f70c76d82b18 Closes-Bug: #1619085
This commit is contained in:
@@ -530,7 +530,7 @@ class DbQuotaDriver(object):
|
|||||||
LOG.debug('Quotas for project %(project_id)s and user %(user_id)s '
|
LOG.debug('Quotas for project %(project_id)s and user %(user_id)s '
|
||||||
'after resource sync: %(quotas)s',
|
'after resource sync: %(quotas)s',
|
||||||
{'project_id': project_id, 'user_id': user_id,
|
{'project_id': project_id, 'user_id': user_id,
|
||||||
'quotas': quotas})
|
'quotas': user_quotas})
|
||||||
|
|
||||||
# NOTE(Vek): Most of the work here has to be done in the DB
|
# NOTE(Vek): Most of the work here has to be done in the DB
|
||||||
# API, because we have to do it in a transaction,
|
# API, because we have to do it in a transaction,
|
||||||
|
|||||||
Reference in New Issue
Block a user