From b6a0625b530af9465ed79288fa14e4e098ab6551 Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Wed, 12 Jun 2019 14:09:44 +0200 Subject: [PATCH] fix influxdb list databases --- database/influxdb/mode/listdatabases.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/influxdb/mode/listdatabases.pm b/database/influxdb/mode/listdatabases.pm index df29204e4..73c5686d0 100644 --- a/database/influxdb/mode/listdatabases.pm +++ b/database/influxdb/mode/listdatabases.pm @@ -45,7 +45,7 @@ sub manage_selection { my ($self, %options) = @_; $self->{custom} = $options{custom}; - my $results = $self->{custom}->query(query => 'SHOW DATABASES'); + my $results = $self->{custom}->query(queries => [ 'SHOW DATABASES' ]); foreach my $value (@{$$results[0]->{values}}) { push @{$self->{databases}}, $$value[0];