fix influxdb list databases

This commit is contained in:
Colin Gagnaire 2019-06-12 14:09:44 +02:00
parent 31307adef0
commit b6a0625b53
1 changed files with 1 additions and 1 deletions

View File

@ -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];