WIP: Allow jobs to be submitted in paused
status
#104318
@ -397,7 +397,7 @@ func (sm *StateMachine) updateTasksAfterJobStatusChange(
|
||||
|
||||
// Every case in this switch MUST return, for sanity sake.
|
||||
switch job.Status {
|
||||
case api.JobStatusCompleted, api.JobStatusCanceled:
|
||||
case api.JobStatusCompleted, api.JobStatusCanceled, api.JobStatusPaused:
|
||||
// Nothing to do; this will happen as a response to all tasks receiving this status.
|
||||
return tasksUpdateResult{}, nil
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user