Merge "TVD: fix get_<>s but plugin with filters"

This commit is contained in:
Zuul 2018-02-07 01:52:39 +00:00 committed by Gerrit Code Review
commit b750df9c1f

View File

@ -319,11 +319,8 @@ class NsxTVDPlugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
project_id = filters.get('tenant_id')
elif filters.get('project_id'):
project_id = filters.get('project_id')
else:
# A specific filter request is made. So here we
# will not filter according to the plugin.
return
# If there are multiple tenants/prijects being requested then
# If there are multiple tenants/projects being requested then
# we will not filter according to the plugin
if isinstance(project_id, list):
return