[Trivial]Add missing print format in log message

This is to add missing print format in log message.

Change-Id: I3f2fe038bd30b1880853ca90f3ef9cdcea02e4d0
This commit is contained in:
zhufl 2020-09-29 10:44:12 +08:00
parent 501fa32cc4
commit 30571246bf
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]