infoblox backend multi_tenant always return true, because the value
of multi_tenant is a unicode 0
Change-Id: Iae32498c6e68ed5de082a9fad25d5dc9d53f676d
Closes-Bug: #1715559
(cherry picked from commit 4923f7b2d4
)
This commit is contained in:
parent
0c06a06fa4
commit
3634dddc49
|
@ -47,7 +47,7 @@ class Infoblox(object):
|
||||||
other_opts = ['sslverify', 'network_view', 'dns_view', 'multi_tenant']
|
other_opts = ['sslverify', 'network_view', 'dns_view', 'multi_tenant']
|
||||||
|
|
||||||
for opt in reqd_opts + other_opts:
|
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.
|
# NOTE(selvakumar): This check is for sslverify option.
|
||||||
# type of sslverify is unicode string from designate DB
|
# type of sslverify is unicode string from designate DB
|
||||||
# if the value is 0 getattr called for setting default values.
|
# if the value is 0 getattr called for setting default values.
|
||||||
|
|
Loading…
Reference in New Issue