WIP: Allow jobs to be submitted in paused
status
#104318
@ -455,6 +455,7 @@ func (sm *StateMachine) pauseTasks(
|
||||
api.TaskStatusActive,
|
||||
api.TaskStatusQueued,
|
||||
api.TaskStatusCanceled,
|
||||
api.TaskStatusSoftFailed,
|
||||
}
|
||||
err := sm.persist.UpdateJobsTaskStatusesConditional(
|
||||
ctx, job, taskStatusesToPause, api.TaskStatusPaused,
|
||||
|
Loading…
Reference in New Issue
Block a user