Skip to content

Commit

Permalink
Update util.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kruskall authored Dec 29, 2024
1 parent ac69a8d commit 0bc0f7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libbeat/statestore/backend/memlog/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ func (c *countWriter) Write(p []byte) (int, error) {
return n, err
}

//nolint:unused // not true
var _ = isRetryErr

func isRetryErr(err error) bool {
return errors.Is(err, syscall.EINTR) || errors.Is(err, syscall.EAGAIN)
}
Expand Down

0 comments on commit 0bc0f7e

Please sign in to comment.