mirror of https://github.com/Icinga/icinga2.git
This should also apply if host.vars.notification.mail is not defined, but service.vars.notification.mail is
This commit is contained in:
parent
c1aaa10650
commit
7a49ed4c81
|
@ -1706,7 +1706,7 @@ apply Notification "mail-service-notification" to Service {
|
|||
user_groups = host.vars.notification.mail.groups
|
||||
}
|
||||
|
||||
assign where host.vars.notification.mail && typeof(host.vars.notification.mail) == Dictionary
|
||||
assign where ( host.vars.notification.mail && typeof(host.vars.notification.mail) == Dictionary ) || ( service.vars.notification.mail && typeof(service.vars.notification.mail) == Dictionary )
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue