Skip to content

Commit

Permalink
Fix patroni.yml: Remove extra '+' from 'endfor' (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks authored Oct 24, 2023
1 parent 98c1c62 commit 1fa2d11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/patroni/templates/patroni.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ etcd3:
{% endif %}
{% if dcs_exists|bool and dcs_type == 'etcd' %}
etcd3:
hosts: {% for etcd_hosts in patroni_etcd_hosts %}{{etcd_hosts.host}}:{{etcd_hosts.port}}{% if not loop.last %},{% endif %}{% endfor +%}
hosts: {% for etcd_hosts in patroni_etcd_hosts %}{{etcd_hosts.host}}:{{etcd_hosts.port}}{% if not loop.last %},{% endif %}{% endfor %}

{% if patroni_etcd_username | default('') | length > 0 %}
username: {{ patroni_etcd_username | default('') }}
{% endif %}
Expand Down

0 comments on commit 1fa2d11

Please sign in to comment.