fix: bug in check command template

This commit is contained in:
Adrien Waksberg 2022-12-08 15:51:18 +01:00
parent b3bc69a025
commit 2118e694cd

View file

@ -2,7 +2,7 @@
{% for name, command in icinga2_check_commands.items() %}
object CheckCommand "{{ name }}" {
{% if command is not string %}
{% if command.command is not string %}
command = ["{{ command.command | join('", "') }}"]
{% else %}
command = {{ command.command }}