Skip to content

Commit

Permalink
inline
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Ye <[email protected]>
  • Loading branch information
yeya24 committed Apr 8, 2024
1 parent c00700d commit 03d72f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tsdb/querier.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ func (q *blockChunkQuerier) Select(ctx context.Context, sortSeries bool, hints *
func PostingsForMatchers(ctx context.Context, ix IndexReader, ms ...*labels.Matcher) (index.Postings, error) {
if len(ms) == 1 && ms[0].Name == "" && ms[0].Value == "" {
k, v := index.AllPostingsKey()
allPostings, err := ix.Postings(ctx, k, v)
return allPostings, err
return ix.Postings(ctx, k, v)
}

var its, notIts []index.Postings
Expand Down

0 comments on commit 03d72f4

Please sign in to comment.