Skip to content

Commit

Permalink
Fix the inclusion of kea_ctrl_agent_raw_options
Browse files Browse the repository at this point in the history
This produced invalid syntax before, but should now work as expected.
  • Loading branch information
JonasAlfredsson authored Jun 25, 2024
1 parent 95a40c3 commit cda4216
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/ctrl-agent.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
{% endif %}
},

{% if kea_ctrl_agent_raw_options | length > 0 %}
{{ kea_ctrl_agent_raw_options | to_nice_json(indent=4, ensure_ascii=False ) | indent(8, False) }}
{% for key, value in kea_ctrl_agent_raw_options.items() %}
"{{ key }}": {{ value | to_nice_json(indent=4, ensure_ascii=False) | indent(8, False) }},

{% endif %}
{% endfor %}
"loggers": {{ kea_logging_raw_ctrl_agent | to_nice_json(indent=4, ensure_ascii=False ) | indent(8, False) }}
}
}

0 comments on commit cda4216

Please sign in to comment.