Skip to content

Commit

Permalink
bugfix remote read
Browse files Browse the repository at this point in the history
  • Loading branch information
lomik committed Dec 5, 2018
1 parent f64b5d8 commit 888d95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus/read.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (h *Handler) queryData(ctx context.Context, q *prompb.Query, metricList [][

if listBuf.Len() == 0 {
// Return empty response
return nil, nil
return &prompb.QueryResult{}, nil
}

preWhere := finder.NewWhere()
Expand Down

0 comments on commit 888d95b

Please sign in to comment.