Merge "correct LOG.warning args in object_manipulator.py"

This commit is contained in:
Zuul 2017-11-06 00:44:26 +00:00 committed by Gerrit Code Review
commit 0ab0d5b1cf

View File

@ -195,7 +195,8 @@ class InfobloxObjectManipulator(object):
ib_object_ref = self._get_infoblox_object_or_none(obj_type,
payload)
if not ib_object_ref:
LOG.warning(warn_msg, obj_type, payload)
LOG.warning(warn_msg, {'obj_type': obj_type,
'payload': payload})
except exc.InfobloxSearchError as e:
LOG.warning(warn_msg, {'obj_type': obj_type, 'payload': payload})
LOG.info(e)