fix option keyword in frontends section when iterating over frontend options

This commit is contained in:
Marco Roßdeutscher 2015-09-07 16:46:56 +02:00
parent dd248a23e6
commit a6545fe434

View file

@ -309,7 +309,7 @@ frontend {{ frontend[1].get('name', frontend[0]) }}
maxconn {{ frontend[1].maxconn }}
{%- endif %}
{%- if 'options' in frontend[1] %}
{{- render_list_of_dictionaries('options', frontend[1].options) }}
{{- render_list_of_dictionaries('option', frontend[1].options) }}
{%- endif %}
{%- if 'uniqueidformat' in frontend[1] %}
unique-id-format {{ frontend[1].uniqueidformat }}