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

Merge pull request #19 from paran1/slurm-2.2

Reset priority to 0 when a job is requeued by wiki2
parents 525ab0af 8212b71e
No related branches found
No related tags found
No related merge requests found
...@@ -85,6 +85,7 @@ extern int job_requeue_wiki(char *cmd_ptr, int *err_code, char **err_msg) ...@@ -85,6 +85,7 @@ extern int job_requeue_wiki(char *cmd_ptr, int *err_code, char **err_msg)
xfree(job_ptr->details->req_nodes); xfree(job_ptr->details->req_nodes);
FREE_NULL_BITMAP(job_ptr->details->req_node_bitmap); FREE_NULL_BITMAP(job_ptr->details->req_node_bitmap);
} }
job_ptr->priority = 0;
info("wiki: requeued job %u", jobid); info("wiki: requeued job %u", jobid);
unlock_slurmctld(job_write_lock); unlock_slurmctld(job_write_lock);
snprintf(reply_msg, sizeof(reply_msg), snprintf(reply_msg, sizeof(reply_msg),
......
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