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

Merge branch 'slurm-16.05' into slurm-17.02

parents ee5fea6d 7b226965
No related branches found
No related tags found
No related merge requests found
...@@ -288,6 +288,8 @@ documents those changes that are of interest to users and administrators. ...@@ -288,6 +288,8 @@ documents those changes that are of interest to users and administrators.
limits. limits.
-- Fix correct state reason when job can't run 'safely' because of an -- Fix correct state reason when job can't run 'safely' because of an
association GrpWall limit. association GrpWall limit.
-- Squeue always loads new data if user_id option specified
-- Fix for possible job ID parsing failure and abort.
* Changes in Slurm 16.05.9 * Changes in Slurm 16.05.9
========================== ==========================
......
...@@ -1889,6 +1889,8 @@ _build_step_list( char* str ) ...@@ -1889,6 +1889,8 @@ _build_step_list( char* str )
step = strtok_r(my_step_list, ",", &tmp_char); step = strtok_r(my_step_list, ",", &tmp_char);
while (step) { while (step) {
job_name = strtok_r(step, ".", &tmps_char); job_name = strtok_r(step, ".", &tmps_char);
if (job_name == NULL)
break;
step_name = strtok_r(NULL, ".", &tmps_char); step_name = strtok_r(NULL, ".", &tmps_char);
job_id = strtol(job_name, &end_ptr, 10); job_id = strtol(job_name, &end_ptr, 10);
if (end_ptr[0] == '_') if (end_ptr[0] == '_')
......
...@@ -217,7 +217,7 @@ _print_job ( bool clear_old ) ...@@ -217,7 +217,7 @@ _print_job ( bool clear_old )
return SLURM_ERROR; return SLURM_ERROR;
} }
old_job_ptr = new_job_ptr; old_job_ptr = new_job_ptr;
if (params.job_id || params.job_id) if (params.job_id || params.user_id)
old_job_ptr->last_update = (time_t) 0; old_job_ptr->last_update = (time_t) 0;
if (params.verbose) { if (params.verbose) {
......
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