mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-26 23:24:27 +02:00
fix hcp filter
This commit is contained in:
parent
28c7d76c54
commit
07580ce736
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user