fix: bug in check command template
This commit is contained in:
parent
b3bc69a025
commit
2118e694cd
1 changed files with 1 additions and 1 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue