[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:
parent
501fa32cc4
commit
30571246bf
|
@ -1539,7 +1539,7 @@ class NimbleRestAPIExecutor(object):
|
||||||
r = self.get_query(api, filter)
|
r = self.get_query(api, filter)
|
||||||
LOG.info("ACL record is %(result)s", {'result': r.json()})
|
LOG.info("ACL record is %(result)s", {'result': r.json()})
|
||||||
if not r.json()['data']:
|
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})
|
'vol_id': volume_id})
|
||||||
return
|
return
|
||||||
return r.json()['data'][0]
|
return r.json()['data'][0]
|
||||||
|
|
Loading…
Reference in New Issue