Skip to content

Commit 9bcea78

Browse files
committed
chore: lint ignore
1 parent 175a01b commit 9bcea78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎load.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ func (c *Cache[V]) fill(key string, load Loader[V]) func(context.Context) (fillR
279279
// SetWithTTL refuses again at admission; this skips the encoding first.
280280
if err := ctx.Err(); err != nil {
281281
res.fillErr = &OpError{Op: OpSet, Key: key, Err: err}
282-
return res, nil
282+
return res, nil //nolint:nilerr // the loader succeeded; only the fill did not
283283
}
284284

285285
if snapshotErr != nil {

0 commit comments

Comments
 (0)