From cd078421bbfa383d645da1d58c34ce83e419cd4d Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Fri, 5 Jul 2019 10:03:18 +0200 Subject: [PATCH] fix #1573 --- database/elasticsearch/restapi/mode/nodestatistics.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/elasticsearch/restapi/mode/nodestatistics.pm b/database/elasticsearch/restapi/mode/nodestatistics.pm index d888e4b3d..14dc382c3 100644 --- a/database/elasticsearch/restapi/mode/nodestatistics.pm +++ b/database/elasticsearch/restapi/mode/nodestatistics.pm @@ -116,7 +116,7 @@ sub manage_selection { foreach my $node (keys %{$nodes_stats->{nodes}}) { if (defined($self->{option_results}->{filter_name}) && $self->{option_results}->{filter_name} ne '' && $node !~ /$self->{option_results}->{filter_name}/) { - $self->{output}->output_add(long_msg => "skipping '" . $indice . "': no matching filter.", debug => 1); + $self->{output}->output_add(long_msg => "skipping '" . $node . "': no matching filter.", debug => 1); next; }