Skip to content

Commit

Permalink
fix(bug): config arrays as multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
waynegemmell committed Oct 4, 2023
1 parent 3c0568c commit c2363f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mysql/files/server.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,14 @@
{% elif mvalue == "SETONPLEASE" %}
{{ mparam }}{{ '='|indent(indents, true) }} ON
{%- else -%}
{%- if mvalue is list -%}
{%- for value in mvalue %}
{{ mparam }}{{ '='|indent(indents, true) }} {{ value }}
{%- endfor -%}
{%- else -%}
{{ mparam }}{{ '='|indent(indents, true) }} {{ mvalue }}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- endfor %}
Expand Down

0 comments on commit c2363f9

Please sign in to comment.