summaryrefslogtreecommitdiff
path: root/internal/cache/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cache/util.go')
-rw-r--r--internal/cache/util.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/cache/util.go b/internal/cache/util.go
index 2d7badf68..a0adfd366 100644
--- a/internal/cache/util.go
+++ b/internal/cache/util.go
@@ -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,