fix influxdb list databases
This commit is contained in:
parent
31307adef0
commit
b6a0625b53
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue