Skip to content

Commit

Permalink
wip: fix ignored error in postings
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
  • Loading branch information
MichaHoffmann committed Aug 24, 2023
1 parent 26b48a5 commit dbb5db2
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 dbb5db2

Please sign in to comment.