Skip to content
Snippets Groups Projects
Commit d7d2a7cb authored by Danny Auble's avatar Danny Auble
Browse files

Minor debugging change, and cleaner initialization.

parent b0cc7126
No related branches found
No related tags found
No related merge requests found
...@@ -540,8 +540,8 @@ next_part: part_ptr = (struct part_record *) ...@@ -540,8 +540,8 @@ next_part: part_ptr = (struct part_record *)
} }
} }
if (job_ptr->qos_id) { if (job_ptr->qos_id) {
slurmdb_association_rec_t *assoc_ptr; slurmdb_association_rec_t *assoc_ptr =
assoc_ptr = (slurmdb_association_rec_t *)job_ptr->assoc_ptr; (slurmdb_association_rec_t *)job_ptr->assoc_ptr;
if (assoc_ptr && if (assoc_ptr &&
!bit_test(assoc_ptr->usage->valid_qos, !bit_test(assoc_ptr->usage->valid_qos,
job_ptr->qos_id) && job_ptr->qos_id) &&
...@@ -904,9 +904,11 @@ next_part: part_ptr = (struct part_record *) ...@@ -904,9 +904,11 @@ next_part: part_ptr = (struct part_record *)
last_job_update = now; last_job_update = now;
} }
debug3("sched: JobId=%u. State=PENDING. " debug3("sched: JobId=%u. State=PENDING. "
"Reason=Priority. Priority=%u. Partition=%s.", "Reason=%s(Priority), Priority=%u, "
job_ptr->job_id, job_ptr->priority, "Partition=%s.",
job_ptr->partition); job_ptr->job_id,
job_reason_string(job_ptr->state_reason),
job_ptr->priority, job_ptr->partition);
continue; 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