bundles/icinga2: remove unused code in hosts_template
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2022-02-18 16:25:59 +01:00
parent d35770c122
commit 468a0b0023
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -41,8 +41,6 @@ object Service "${service}" {
% if k not in {'import', 'command_on_monitored_host'} and not k.startswith('vars.notification'):
% if isinstance(v, bool) or isinstance(v, int) or k.endswith('_interval'):
${k} = ${str(v).lower()}
% elif isinstance(v, list):
${k} = [${", ".join(['"' + i + '"' for i in v])}]
% else:
${k} = "${v}"
% endif