Skip to content

Commit

Permalink
store: fix ignored error in postings (thanos-io#6654)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
  • Loading branch information
MichaHoffmann authored and saswatamcode committed Aug 28, 2023
1 parent 36d3651 commit a1ff1fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/store/postings.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func (r *postingsReaderBuilder) Next() bool {

_, err := r.r.Discard(int(from - r.lastOffset))
if err != nil {
r.e = err
return false
}
r.lastOffset += from - r.lastOffset
Expand Down

0 comments on commit a1ff1fc

Please sign in to comment.