Skip to content

Commit c70c510

Browse files
author
Akash Deep
committed
changed LOG Error to Warning when object search fails
Treating search failure as warning and returning None in infoblox client, as plugin using the infoblox_client can LOG based on its requirement.
1 parent 2233150 commit c70c510

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infoblox_client/connector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def _get_object(self, obj_type, url):
319319
self._validate_authorized(r)
320320

321321
if r.status_code != requests.codes.ok:
322-
LOG.error("Error occurred on object search: %s", r.content)
322+
LOG.warning("Failed on object search with url %s: %s", url, r.content)
323323
return None
324324
return self._parse_reply(r)
325325

0 commit comments

Comments
 (0)