From de1500ef953d167d7fad8aa604b4c4b29d881ac3 Mon Sep 17 00:00:00 2001 From: vfebvre Date: Mon, 7 Feb 2022 12:23:45 +0100 Subject: [PATCH] correction syntaxe subroutes --- tmpl/alertmanager.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmpl/alertmanager.yml b/tmpl/alertmanager.yml index 396d081..fa91b71 100644 --- a/tmpl/alertmanager.yml +++ b/tmpl/alertmanager.yml @@ -93,9 +93,9 @@ route: continue: true %if not %%is_empty('alSubRoute') - routes: %for sroute in %%getVar('alSubRoute',[]) %if %%sroute == %%rt + routes: - match: %%{sroute.alSubRouteMatchSource}: %%{sroute.alSubRouteMatchValue} receiver: %%sroute.alSubRouteMatchReceiver