aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ex_prometheus_io.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ex_prometheus_io.ex b/lib/ex_prometheus_io.ex
index dd47bee..43604ea 100644
--- a/lib/ex_prometheus_io.ex
+++ b/lib/ex_prometheus_io.ex
@@ -15,7 +15,7 @@ defmodule ExPrometheusIo do
spawn_query(:range, query_opts)
end
- def series(matches, _opts \\ []) do
+ def series(matches, _opts \\ []) when is_list(matches) do
spawn_query(:series, [matches])
end