Fixing syntax, else if shoudl work

This commit is contained in:
Jan Wagner 2019-09-12 17:17:48 +02:00
parent 6a059e972a
commit 9ebfd32d2f
1 changed files with 1 additions and 1 deletions

View File

@ -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
}