bundles/icinga2: remove unused code in hosts_template
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
d35770c122
commit
468a0b0023
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue