Skip to content

Commit

Permalink
fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mastercactapus committed Dec 23, 2024
1 parent d8e3203 commit 256dd0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/cleanupmanager/alertlogs.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (db *DB) LookForWorkAlertLogs(ctx context.Context, j *river.Job[AlertLogLFW
min, max = row.MinID, row.MaxID
return nil
})
if errors.Is(err, sql.ErrNoRows) {
if min == 0 && max == 0 {
return nil
}
if err != nil {
Expand Down

0 comments on commit 256dd0f

Please sign in to comment.