mirror of https://github.com/Icinga/icinga2.git
Fixing syntax, else if shoudl work
This commit is contained in:
parent
6a059e972a
commit
9ebfd32d2f
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue