Merge "[Trivial]Add missing print format in log message"

This commit is contained in:
Zuul 2020-09-30 16:38:38 +00:00 committed by Gerrit Code Review
commit 987a49f19a
1 changed files with 1 additions and 1 deletions

View File

@ -1539,7 +1539,7 @@ class NimbleRestAPIExecutor(object):
r = self.get_query(api, filter)
LOG.info("ACL record is %(result)s", {'result': r.json()})
if not r.json()['data']:
LOG.warning('ACL is not available for this volume %(vol_id)', {
LOG.warning('ACL is not available for this volume %(vol_id)s', {
'vol_id': volume_id})
return
return r.json()['data'][0]