From dc56a29144201ca0759f9a76965e3c3f7609eac4 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Wed, 2 Oct 2019 11:02:35 +0200 Subject: [PATCH] fix list-tablespaces oracle --- centreon-plugins/database/oracle/mode/listtablespaces.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/database/oracle/mode/listtablespaces.pm b/centreon-plugins/database/oracle/mode/listtablespaces.pm index 0cc212bb8..626d1b778 100644 --- a/centreon-plugins/database/oracle/mode/listtablespaces.pm +++ b/centreon-plugins/database/oracle/mode/listtablespaces.pm @@ -268,7 +268,7 @@ sub manage_selection { }; } $options{sql}->query(query => $query); - my $result = $self->{sql}->fetchall_arrayref(); + my $result = $options{sql}->fetchall_arrayref(); $options{sql}->disconnect(); my $tablespaces = {};