Skip to content

Commit

Permalink
cleanup todos
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas-goenka committed Oct 22, 2024
1 parent 09e1291 commit 934ae80
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bundle/run/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 934ae80

Please sign in to comment.