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 <[email protected]>
Signed-off-by: Luis Marques <[email protected]>
  • Loading branch information
MichaHoffmann authored and lmarques03 committed Aug 25, 2023
1 parent 05641e3 commit a93e027
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 a93e027

Please sign in to comment.