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

Minor streamlining of logging

No need to look up the Reason string for a job, we just set the value.
parent 192cf0fc
No related branches found
No related tags found
No related merge requests found
......@@ -1410,11 +1410,10 @@ next_task:
job_ptr->state_reason = WAIT_PRIORITY;
xfree(job_ptr->state_desc);
debug3("sched: JobId=%u. State=PENDING. "
"Reason=%s(Priority). Priority=%u, "
"Reason=Priority. Priority=%u. "
"Resv=%s.",
job_ptr->job_id,
job_reason_string(job_ptr->state_reason),
job_ptr->priority, job_ptr->resv_name);
job_ptr->job_id, job_ptr->priority,
job_ptr->resv_name);
continue;
}
} else if (_failed_partition(job_ptr->part_ptr, failed_parts,
......@@ -1423,11 +1422,9 @@ next_task:
xfree(job_ptr->state_desc);
last_job_update = now;
debug("sched: JobId=%u. State=PENDING. "
"Reason=%s(Priority), Priority=%u, "
"Partition=%s.",
job_ptr->job_id,
job_reason_string(job_ptr->state_reason),
job_ptr->priority, job_ptr->partition);
"Reason=Priority, Priority=%u. Partition=%s.",
job_ptr->job_id, job_ptr->priority,
job_ptr->partition);
continue;
}
......
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