From 9ebfd32d2f094a44afd2fd15c2794af8ce4ed389 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Thu, 12 Sep 2019 17:17:48 +0200 Subject: [PATCH] Fixing syntax, else if shoudl work --- doc/03-monitoring-basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/03-monitoring-basics.md b/doc/03-monitoring-basics.md index 80d57f5b5..15a8738a1 100644 --- a/doc/03-monitoring-basics.md +++ b/doc/03-monitoring-basics.md @@ -1702,7 +1702,7 @@ apply Notification "mail-host-notification" to Service { if (service.vars.notification.mail.groups) { user_groups = service.vars.notification.mail.groups - } else (host.vars.notification.mail.groups) { + } else if (host.vars.notification.mail.groups) { user_groups = host.vars.notification.mail.groups }