mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
(plugin) notification::microsoft::office365::teams - fix uninitialized value (#4146)
This commit is contained in:
parent
ec9ef04f73
commit
aa443baf7d
@ -140,7 +140,11 @@ sub build_resource_status_filters {
|
|||||||
"name" => "search",
|
"name" => "search",
|
||||||
"object_type" => undef,
|
"object_type" => undef,
|
||||||
"type" => "text",
|
"type" => "text",
|
||||||
"value"=> "s.description:$self->{option_results}->{service_name} h.name:$self->{option_results}->{host_name}"
|
"value" => sprintf(
|
||||||
|
's.description:%s h.name:%s',
|
||||||
|
defined($self->{option_results}->{service_name}) ? $self->{option_results}->{service_name} : '',
|
||||||
|
defined($self->{option_results}->{host_name}) ? $self->{option_results}->{host_name} : ''
|
||||||
|
)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name" => "sort",
|
"name" => "sort",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user