Skip to content

Commit

Permalink
check for redis.Nil
Browse files Browse the repository at this point in the history
  • Loading branch information
cheggaaa committed Nov 13, 2024
1 parent 071ab5c commit 87b998a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deletelog/deletelog.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (d *deleteLog) checkLog(ctx context.Context) (err error) {
GroupId: rec.FileGroup,
SpaceId: rec.SpaceId,
})
if err != nil {
if err != nil && !errors.Is(err, redis.Nil) {
return
}
handledCount++
Expand Down

0 comments on commit 87b998a

Please sign in to comment.