Skip to content
Snippets Groups Projects
Commit cfa1bea8 authored by Morris Jette's avatar Morris Jette
Browse files

Fix to recent scontrol resume array logic

Failed to find individual jobs to resume.
parent 459193b5
No related branches found
No related tags found
No related merge requests found
......@@ -1315,7 +1315,7 @@ static job_ids_t *_get_job_ids2(const char *jobid, uint32_t *num_ids)
i = 0;
for (cc = 0; cc < job_info->record_count; cc++) {
job_state = job_info->job_array[cc].job_state & JOB_STATE_BASE;
if (job_state < JOB_SUSPENDED) {
if (job_state <= JOB_SUSPENDED) {
job_ids[i].array_job_id =
job_info->job_array[cc].array_job_id;
job_ids[i].array_task_id =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment