mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 04:12:26 -06:00
[chore] Update versions, fix lint errors (#1860)
This commit is contained in:
parent
1d4137fb88
commit
21c1552daa
12 changed files with 66 additions and 57 deletions
1
internal/cache/util.go
vendored
1
internal/cache/util.go
vendored
|
@ -36,6 +36,7 @@ var SentinelError = errors.New("BUG: error should not be returned") //nolint:rev
|
|||
// caches, which specifically catches and ignores our sentinel error type.
|
||||
func ignoreErrors(err error) bool {
|
||||
return errorsv2.Comparable(
|
||||
err,
|
||||
SentinelError,
|
||||
context.DeadlineExceeded,
|
||||
context.Canceled,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue