From 92147a76497833a058428d825463ce0f3510259d Mon Sep 17 00:00:00 2001 From: CPbN <40244829+CPbN@users.noreply.github.com> Date: Thu, 24 Oct 2019 17:25:39 +0200 Subject: [PATCH] InfluxDB, typo --- database/influxdb/mode/query.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/influxdb/mode/query.pm b/database/influxdb/mode/query.pm index 3ed831c4d..c1c7fd7d8 100644 --- a/database/influxdb/mode/query.pm +++ b/database/influxdb/mode/query.pm @@ -154,7 +154,7 @@ sub manage_selection { next if (!defined($result->{tags}->{$self->{option_results}->{instance}})); my $column_index = first_index { $_ eq $self->{custom_keys}[$query_index] } @{$result->{columns}}; my $value; - $value = $options{custom}->compute(aggregation => $self->{option_results}->{aggregation}, values => $result->{values}, column => $column_index ) if (defined($result->{values})); + $value = $options{custom}->compute(aggregation => $self->{option_results}->{aggregation}, values => $result->{values}, column => $column_index) if (defined($result->{values})); $self->{queries_results}->{$result->{tags}->{$self->{option_results}->{instance}}}->{instance} = $result->{tags}->{$self->{option_results}->{instance}}; $self->{queries_results}->{$result->{tags}->{$self->{option_results}->{instance}}}->{$result->{columns}[$column_index]} = $value; }