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)
correct LOG.warning args in object_manipulator.py
Notes
Notes (review): Code-Review+1: Dai Dang Van <daidv@vn.fujitsu.com> Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Code-Review+2: Graham Hayes <gr@ham.ie> Workflow+1: Graham Hayes <gr@ham.ie> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 12 Feb 2018 14:21:51 +0000 Reviewed-on: https://review.openstack.org/539436 Project: openstack/designate Branch: refs/heads/stable/pike
-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 9d696a6..d6e4a28 100644
--- a/designate/backend/impl_infoblox/object_manipulator.py
+++ b/designate/backend/impl_infoblox/object_manipulator.py
@@ -195,7 +195,8 @@ class InfobloxObjectManipulator(object):
195 ib_object_ref = self._get_infoblox_object_or_none(obj_type, 195 ib_object_ref = self._get_infoblox_object_or_none(obj_type,
196 payload) 196 payload)
197 if not ib_object_ref: 197 if not ib_object_ref:
198 LOG.warning(warn_msg, obj_type, payload) 198 LOG.warning(warn_msg, {'obj_type': obj_type,
199 'payload': payload})
199 except exc.InfobloxSearchError as e: 200 except exc.InfobloxSearchError as e:
200 LOG.warning(warn_msg, {'obj_type': obj_type, 'payload': payload}) 201 LOG.warning(warn_msg, {'obj_type': obj_type, 'payload': payload})
201 LOG.info(e) 202 LOG.info(e)