Skip to content

Commit

Permalink
Moving the raw_option bloc within the for loops
Browse files Browse the repository at this point in the history
  • Loading branch information
chmduquesne committed Jan 31, 2019
1 parent 4b17931 commit 12406b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions templates/etc/haproxy/backend.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ backend {{ backend.name }}
{% for errorfile in backend.errorfile | default([]) %}
errorfile {{ errorfile.code }} {{ errorfile.file }}
{% endfor %}

{% endfor %}
{% for line in backend.raw_options | default([]) %}
{{ line }}
{% endfor %}
{% endfor %}
3 changes: 1 addition & 2 deletions templates/etc/haproxy/frontend.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ frontend {{ frontend.name }}
{% for errorfile in frontend.errorfile | default([]) %}
errorfile {{ errorfile.code }} {{ errorfile.file }}
{% endfor %}

{% endfor %}
{% for line in frontend.raw_options | default([]) %}
{{ line }}
{% endfor %}
{% endfor %}
3 changes: 1 addition & 2 deletions templates/etc/haproxy/listen.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@ listen {{ listen.name }}
{% for errorfile in listen.errorfile | default([]) %}
errorfile {{ errorfile.code }} {{ errorfile.file }}
{% endfor %}

{% endfor %}
{% for line in listen.raw_options | default([]) %}
{{ line }}
{% endfor %}
{% endfor %}

0 comments on commit 12406b4

Please sign in to comment.