From fa5d921b5227ef4290cb893a61e095c4dcdac992 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 15 Sep 2020 16:09:31 +0200 Subject: [PATCH] fix tablespace postgres --- centreon-plugins/database/postgres/mode/tablespace.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/database/postgres/mode/tablespace.pm b/centreon-plugins/database/postgres/mode/tablespace.pm index 81dff916c..771caa615 100644 --- a/centreon-plugins/database/postgres/mode/tablespace.pm +++ b/centreon-plugins/database/postgres/mode/tablespace.pm @@ -73,7 +73,7 @@ sub manage_selection { while (my @row = $options{sql}->fetchrow_array()) { if (defined($self->{option_results}->{filter_name}) && $self->{option_results}->{filter_name} ne '' && $row[0] !~ /$self->{option_results}->{filter_name}/) { - $self->{output}->output_add(long_msg => "skipping tablespace '" . $row->[0] . "': no matching filter.", debug => 1); + $self->{output}->output_add(long_msg => "skipping tablespace '" . $row[0] . "': no matching filter.", debug => 1); next; }