Skip to content

Commit

Permalink
added todo in controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyriakos Akriotis committed May 29, 2024
1 parent eb4a9f7 commit 5cab65b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/sleepcycle_runners_cronjobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ func (r *SleepCycleReconciler) reconcileCronJob(
}
}

//TODO: If cronjob is actively running, quit and wait next reconciliation loop

if cronjob != nil {
if !isShutdownOp && sleepcycle.Spec.WakeUp == nil {
err := r.deleteCronJob(ctx, sleepcycle, cronjob)
Expand Down

0 comments on commit 5cab65b

Please sign in to comment.