diff --git a/internal/managed_job/cycle.go b/internal/managed_job/cycle.go index 4d15b85..5417eb8 100644 --- a/internal/managed_job/cycle.go +++ b/internal/managed_job/cycle.go @@ -18,11 +18,6 @@ func (job *ManagedJob) Cycle() { return } - if job.def.Status.JobStatus == v1alpha1.JobStatusFinished && job.def.Status.LifeCycleStatus == v1alpha1.LifeCycleStatusGracefullyPaused { - job.Run(true) - return - } - if job.def.Status.JobStatus == v1alpha1.JobStatusRunning { if (job.def.Spec.SavepointInterval.Duration != 0) && ((job.def.Status.LastSavepointDate == nil) || time.Now().Add(-job.def.Spec.SavepointInterval.Duration).After(*job.def.Status.LastSavepointDate)) { if job.def.Status.SavepointTriggerId == nil {