From 934ae80ab673fb470a95311aaad21c464d8272f5 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Tue, 22 Oct 2024 15:52:00 +0200 Subject: [PATCH] cleanup todos --- bundle/run/job.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/bundle/run/job.go b/bundle/run/job.go index 00369f851..f7b6c5e9c 100644 --- a/bundle/run/job.go +++ b/bundle/run/job.go @@ -321,8 +321,6 @@ func (r *jobRunner) Restart(ctx context.Context, opts *Options) (output.RunOutpu // We don't need to cancel existing runs if the job is continuous and unpaused. // the /jobs/run-now API will automatically cancel any existing runs before starting a new one. continuous := r.job.JobSettings.Continuous - // TODO: Is this correct wrt pause status? - // TODO: test all permutations, even pipelines. if continuous != nil && continuous.PauseStatus == jobs.PauseStatusUnpaused { return r.Run(ctx, opts) }