From 61e63b75367090c0c2ca3fd87d7b110660c3b7c8 Mon Sep 17 00:00:00 2001 From: Alvaro Aleman Date: Fri, 13 Apr 2018 00:05:58 +0200 Subject: [PATCH] Do not call querier.Select with nil arg (#288) Fixes #286 --- pkg/query/api/v1.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/query/api/v1.go b/pkg/query/api/v1.go index 0395468adb..32d92280a7 100644 --- a/pkg/query/api/v1.go +++ b/pkg/query/api/v1.go @@ -443,7 +443,7 @@ func (api *API) series(r *http.Request) (interface{}, []error, *apiError) { var sets []storage.SeriesSet for _, mset := range matcherSets { - s, err := q.Select(nil, mset...) + s, err := q.Select(&storage.SelectParams{}, mset...) if err != nil { return nil, nil, &apiError{errorExec, err} }