mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 16:45:04 +02:00
change google suite
This commit is contained in:
parent
fbdc1212fe
commit
9eead752ad
@ -126,15 +126,9 @@ sub manage_selection {
|
||||
};
|
||||
};
|
||||
|
||||
$self->{global}->{issues} = 0;
|
||||
foreach my $issue (@{$results->{messages}}) {
|
||||
next if (!defined($self->{gapps}->{ $issue->{service} }));
|
||||
|
||||
next if (
|
||||
(!defined($self->{option_results}->{display_extra}))
|
||||
&& $self->{gapps}->{ $issue->{service} } != 0
|
||||
);
|
||||
|
||||
next if ($issue->{resolved});
|
||||
|
||||
$self->{gapps}->{ $issue->{service} } = {
|
||||
@ -147,7 +141,7 @@ sub manage_selection {
|
||||
};
|
||||
}
|
||||
|
||||
$self->{global}->{apps} = scalar(keys %{$self->{gapps}});
|
||||
$self->{global} = { apps => scalar(keys %{$self->{gapps}}) };
|
||||
}
|
||||
|
||||
1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user