Merge "[Trivial]Add missing print format in log message"
This commit is contained in:
commit
987a49f19a
|
@ -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