Skip to content

Commit 9d57482

Browse files
committed
Attempt to appease the linter.
1 parent 3feb621 commit 9d57482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ func (r *Reader) commitOffsetsWithRetry(gen *Generation, offsetStash offsetStash
179179

180180
// IllegalGeneration error is not retriable, but we should attempt to
181181
// perform the remaining commits
182-
if err == IllegalGenerationErr {
182+
if errors.Is(err, IllegalGenerationErr) {
183183
r.withErrorLogger(func(l Logger) { l.Printf("%v", err) })
184184
illegalGenerationErr = true
185185
err = nil

0 commit comments

Comments
 (0)