Skip to content

Commit 85eca78

Browse files
author
Randy Coulman
committed
fix: Handle query responses with no annotations
1 parent 3304150 commit 85eca78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/support/flux_parser.ex

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ defmodule TelemetryInfluxDB.Test.FluxParser do
5555
|> Enum.map(fn table_rows -> List.insert_at(table_rows, 0, headers) end)
5656
end
5757

58+
def get_column_types([]), do: []
59+
5860
def get_column_types(annotation_data) do
5961
col_types_index =
6062
annotation_data

0 commit comments

Comments
 (0)