Merge "Allow for service_bootstrap_ips empty list in IpListMap"

This commit is contained in:
Zuul 2018-12-14 14:03:55 +00:00 committed by Gerrit Code Review
commit 2ee47591ef
1 changed files with 1 additions and 1 deletions

View File

@ -762,7 +762,7 @@ resources:
{% endfor %}
service_bootstrap_node_ip:
yaql:
expression: dict($.data.l.where($ != null).selectMany($.items()).groupBy($[0], $[1]).select([$[0], $[1].flatten().first()]))
expression: dict($.data.l.where($ != null).selectMany($.items()).groupBy($[0], $[1]).select([$[0], $[1].flatten().first(null)]))
data:
l:
{% for role in roles %}