From 468a0b0023f2f8410cc5944680ac01d1fde38c31 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 18 Feb 2022 16:25:59 +0100 Subject: [PATCH] bundles/icinga2: remove unused code in hosts_template --- bundles/icinga2/files/icinga2/hosts_template.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/bundles/icinga2/files/icinga2/hosts_template.conf b/bundles/icinga2/files/icinga2/hosts_template.conf index 2be47e3..794d430 100644 --- a/bundles/icinga2/files/icinga2/hosts_template.conf +++ b/bundles/icinga2/files/icinga2/hosts_template.conf @@ -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