Avoid trying to set values that are null

parent 3b108a7c
Pipeline #31297 failed
......@@ -4,7 +4,7 @@
{%- if (nagios_nrpe_agent_config[k] is iterable) and
(nagios_nrpe_agent_config[k] is not string) %}
{{ k }}={{ nagios_nrpe_agent_config[k] | join(', ') }}
{%- else %}
{%- elif nagios_nrpe_agent_config[k] is not none %}
{{ k }}={{ nagios_nrpe_agent_config[k] }}
{%- endif %}
{% endfor %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment