Skip to content

Commit 18978db

Browse files
committed
Remove initialization of CountRescued for repositories without rescue runs
1 parent 9b6132a commit 18978db

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/starter/starter.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ func (s *Starter) ProcessJob(ctx context.Context, job datastore.Job) error {
230230
return fmt.Errorf("failed to retrieve relational target: (target ID: %s, job ID: %s): %w", job.TargetID, job.UUID, err)
231231
}
232232

233-
CountRescued.LoadOrStore(target.Scope, 0)
234233

235234
cctx, cancel := context.WithTimeout(ctx, runner.MustRunningTime)
236235
defer cancel()

0 commit comments

Comments
 (0)