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

This commit is contained in:
Zuul 2018-03-07 22:44:05 +00:00 committed by Gerrit Code Review
commit d7c45007ec
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ class InfobloxObjectManipulator(object):
return dns_view
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
else:
# Look for the network view with the specified TenantID EA