We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5762b75 commit 47c7c77Copy full SHA for 47c7c77
infoblox.py
@@ -92,7 +92,10 @@ def get_next_available_ip(self, network):
92
return ip_v4
93
else:
94
if 'text' in r_json:
95
- raise InfobloxNoIPavailableException(r_json['text'])
+ if 'code' in r_json and r_json['code'] == 'Client.Ibap.Data':
96
+ raise InfobloxNoIPavailableException(r_json['text'])
97
+ else:
98
+ raise InfobloxGeneralException(r_json['text'])
99
100
r.raise_for_status()
101
0 commit comments