Commit d7c45007 authored by Zuul's avatar Zuul Committed by Gerrit Code Review

Merge "Resolve get_dns_view error after selecting multi-tenant view"

parents 7f28a1d3 e4de3657
...@@ -96,7 +96,8 @@ class InfobloxObjectManipulator(object): ...@@ -96,7 +96,8 @@ class InfobloxObjectManipulator(object):
return dns_view return dns_view
def get_dns_view(self, tenant): def get_dns_view(self, tenant):
if not self.connector.multi_tenant: if (not self.connector.multi_tenant or
self.connector.multi_tenant == '0'):
return self.connector.dns_view return self.connector.dns_view
else: else:
# Look for the network view with the specified TenantID EA # Look for the network view with the specified TenantID EA
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment