Skip to content

Commit cbcfebd

Browse files
committed
Remove initialization of CountRescued for repositories without rescue runs
1 parent c48907d commit cbcfebd

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
@@ -201,7 +201,6 @@ func (s *Starter) ProcessJob(ctx context.Context, job datastore.Job) error {
201201
return fmt.Errorf("failed to retrieve relational target: (target ID: %s, job ID: %s): %w", job.TargetID, job.UUID, err)
202202
}
203203

204-
CountRescued.LoadOrStore(target.Scope, 0)
205204

206205
cctx, cancel := context.WithTimeout(ctx, runner.MustRunningTime)
207206
defer cancel()

0 commit comments

Comments
 (0)