Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Fix available roles listing"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Sep 13, 2018
2 parents 17fb3b1 + d83b4bf commit f7962fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workbooks/plan_management.yaml
Expand Up @@ -1405,7 +1405,7 @@ workflows:
transform_output:
publish:
status: SUCCESS
available_roles: <% let(root => $, roles => yaml_parse($.available_yaml_roles.join("\n"))) -> $roles.where($root.role_tags.toSet().intersect($.get(tags, []).toSet()) or $root.role_tags = null) %>
available_roles: <% let(root => $, roles => yaml_parse($.available_yaml_roles.join("\n"))) -> ($root.role_tags = null and $roles or $roles.where($root.role_tags.toSet().intersect($.get(tags, []).toSet()))) %>
publish-on-error:
status: FAILED
message: <% task().result %>
Expand Down

0 comments on commit f7962fd

Please sign in to comment.