fix snapmirror modes debug output (#948)
This commit is contained in:
parent
e91207c13b
commit
32d6f65303
|
@ -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…
Reference in New Issue