Merge "infoblox backend multi_tenant always return true, because the value of multi_tenant is a unicode 0"

This commit is contained in:
Zuul authored and Gerrit Code Review committed 2017-09-29 08:58:51 +00:00
commit 688507d7d1
1 file changed
+1 -1
+1 -1
View File
@@ -47,7 +47,7 @@ class Infoblox(object):
other_opts = ['sslverify', 'network_view', 'dns_view', 'multi_tenant']
for opt in reqd_opts + other_opts:
if opt == 'sslverify':
if opt == 'sslverify' or opt == 'multi_tenant':
# NOTE(selvakumar): This check is for sslverify option.
# type of sslverify is unicode string from designate DB
# if the value is 0 getattr called for setting default values.