Merge "Do not filter stacks if tags is empty list"

changes/81/177481/1
Jenkins 8 years ago committed by Gerrit Code Review
commit 23e10121b0

@ -441,7 +441,7 @@ def _query_stack_get_all(context, tenant_safe=True, show_deleted=False,
~models.Stack.tags.any(
models.StackTag.tag.in_(not_tags_any)))
if not show_hidden:
if not show_hidden and cfg.CONF.hidden_stack_tags:
query = query.filter(
~models.Stack.tags.any(
models.StackTag.tag.in_(cfg.CONF.hidden_stack_tags)))

Loading…
Cancel
Save