mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Config Conversion: always add type NotificationFilterProblem.
This commit is contained in:
parent
1742f3273e
commit
de159b0133
@ -845,6 +845,10 @@ sub convert_notification_options_to_filter {
|
||||
push @{$filter->{'type'}}, 0;
|
||||
return $filter;
|
||||
}
|
||||
|
||||
# always add NotificationFilterProblem
|
||||
push @{$filter->{'type'}}, 'NotificationFilterProblem';
|
||||
|
||||
if (grep /a/, @options) {
|
||||
foreach my $by (keys %{$filter_by}) {
|
||||
push @{$filter->{$filter_by->{$by}}}, $filter_names->{$by};
|
||||
|
Loading…
x
Reference in New Issue
Block a user