Merge "Resolve get_dns_view error after selecting multi-tenant view" into stable/queens

This commit is contained in:
Zuul 2018-04-04 15:24:18 +00:00 committed by Gerrit Code Review
commit cb60d7316c
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