summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjunbo <junbo4242@gmail.com>2017-11-05 22:39:54 +0800
committerjunbo <junbo4242@gmail.com>2018-01-31 07:35:40 +0000
commit62853fe28aba8ba0805614a738b86cce8a9edad6 (patch)
treecdb594cd4acd9bb44a8851dd74bd1e86c7de7a15
parent0c06a06fa409e1aebf97eb136d25b017598e2f88 (diff)
downloaddesignate-62853fe28aba8ba0805614a738b86cce8a9edad6.tar.gz
correct LOG.warning args in object_manipulator.py
Change-Id: Ifa054afd6e0342f805eb7eccd08c921f740342c9 Closes-Bug: #1730194 (cherry picked from commit 33836169590c01c6236921f540b9c2798043bc81)
-rw-r--r--designate/backend/impl_infoblox/object_manipulator.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/designate/backend/impl_infoblox/object_manipulator.py b/designate/backend/impl_infoblox/object_manipulator.py
index 9d696a67..d6e4a283 100644
--- a/designate/backend/impl_infoblox/object_manipulator.py
+++ b/designate/backend/impl_infoblox/object_manipulator.py
@@ -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)