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

Reset variables if no qos exist. Continuation of 8129acfe and others

parent 50fffb31
No related branches found
No related tags found
No related merge requests found
......@@ -1149,10 +1149,15 @@ static int _attempt_backfill(void)
if (qos_ptr) {
qos_flags = qos_ptr->flags;
qos_blocked_until = qos_ptr->blocked_until;
} else {
qos_flags = 0;
qos_blocked_until = 0;
}
if (qos_part_ptr)
qos_part_blocked_until = qos_part_ptr->blocked_until;
else
qos_part_blocked_until = 0;
if (part_policy_valid_qos(job_ptr->part_ptr, qos_ptr) !=
SLURM_SUCCESS) {
......
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