Merge "TVD: fix get_<>s but plugin with filters"
This commit is contained in:
commit
b750df9c1f
@ -319,11 +319,8 @@ class NsxTVDPlugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
|
|||||||
project_id = filters.get('tenant_id')
|
project_id = filters.get('tenant_id')
|
||||||
elif filters.get('project_id'):
|
elif filters.get('project_id'):
|
||||||
project_id = filters.get('project_id')
|
project_id = filters.get('project_id')
|
||||||
else:
|
|
||||||
# A specific filter request is made. So here we
|
# If there are multiple tenants/projects being requested then
|
||||||
# will not filter according to the plugin.
|
|
||||||
return
|
|
||||||
# If there are multiple tenants/prijects being requested then
|
|
||||||
# we will not filter according to the plugin
|
# we will not filter according to the plugin
|
||||||
if isinstance(project_id, list):
|
if isinstance(project_id, list):
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user