fix hcp filter

This commit is contained in:
garnier-quentin 2020-12-31 11:06:29 +01:00
parent 28c7d76c54
commit 07580ce736
1 changed files with 2 additions and 2 deletions

View File

@ -178,8 +178,8 @@ sub manage_selection {
$self->{output}->output_add(long_msg => "skipping volume '$fullname'.", debug => 1);
next;
}
if (defined($self->{option_results}->{filter_node_id}) && $self->{option_results}->{filter_node_id} ne '' &&
$node_id !~ /$self->{option_results}->{filter_node_id}/) {
if (defined($self->{option_results}->{filter_label}) && $self->{option_results}->{filter_label} ne '' &&
$label !~ /$self->{option_results}->{filter_label}/) {
$self->{output}->output_add(long_msg => "skipping volume '$fullname'.", debug => 1);
next;
}