Skip to content

Commit

Permalink
Do not call querier.Select with nil arg (#288)
Browse files Browse the repository at this point in the history
Fixes #286
  • Loading branch information
alvaroaleman authored and bwplotka committed Apr 12, 2018
1 parent 1516d01 commit 61e63b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/query/api/v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
Expand Down

0 comments on commit 61e63b7

Please sign in to comment.