correct LOG.warning args in object_manipulator.py

Change-Id: Ifa054afd6e0342f805eb7eccd08c921f740342c9
Closes-Bug: #1730194
This commit is contained in:
junbo 2017-11-05 22:39:54 +08:00
parent 29ecf844fb
commit 3383616959

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)