mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-31 01:24:35 +02:00
fix snapmirror modes debug output (#948)
This commit is contained in:
parent
bc7ba62b7b
commit
4ce3365a7e
@ -135,7 +135,7 @@ sub manage_selection {
|
||||
foreach my $snapmirror (@{$result}) {
|
||||
if (defined($self->{option_results}->{filter_name}) && $self->{option_results}->{filter_name} ne '' &&
|
||||
$snapmirror->{source_location} !~ /$self->{option_results}->{filter_name}/) {
|
||||
$self->{output}->output_add(long_msg => "skipping '" . $snapmirror->{name} . "': no matching filter name.", debug => 1);
|
||||
$self->{output}->output_add(long_msg => "skipping '" . $snapmirror->{source_location} . "': no matching filter name.", debug => 1);
|
||||
next;
|
||||
}
|
||||
|
||||
|
@ -97,7 +97,7 @@ sub manage_selection {
|
||||
foreach my $snapmirror (@{$result}) {
|
||||
if (defined($self->{option_results}->{filter_name}) && $self->{option_results}->{filter_name} ne '' &&
|
||||
$snapmirror->{source_location} !~ /$self->{option_results}->{filter_name}/) {
|
||||
$self->{output}->output_add(long_msg => "skipping '" . $snapmirror->{name} . "': no matching filter name.", debug => 1);
|
||||
$self->{output}->output_add(long_msg => "skipping '" . $snapmirror->{source_location} . "': no matching filter name.", debug => 1);
|
||||
next;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user