Skip to content

Commit

Permalink
Fix missing suffixes in squeue.
Browse files Browse the repository at this point in the history
Bug 6120
  • Loading branch information
treydock authored and dannyauble committed Dec 5, 2018
1 parent 84aa2db commit 9b0399b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions NEWS
Expand Up @@ -97,6 +97,7 @@ documents those changes that are of interest to users and administrators.
the backfill scheduling cycle when bf_continue is enabled.
-- Decrement message_connections in stepd code on error path correctly.
-- Decrease an error message to be debug.
-- Fix missing suffixes in squeue.

* Changes in Slurm 18.08.3
==========================
Expand Down
18 changes: 18 additions & 0 deletions src/squeue/print.c
Expand Up @@ -2138,6 +2138,8 @@ int _print_job_cpus_per_tres(job_info_t *job, int width,
right_justify, true);

}
if (suffix)
printf("%s", suffix);
return SLURM_SUCCESS;
}

Expand All @@ -2155,6 +2157,8 @@ int _print_job_mem_per_tres(job_info_t *job, int width,
right_justify, true);

}
if (suffix)
printf("%s", suffix);
return SLURM_SUCCESS;
}

Expand All @@ -2175,6 +2179,8 @@ int _print_job_tres_alloc(job_info_t *job, int width,
right_justify, true);

}
if (suffix)
printf("%s", suffix);
return SLURM_SUCCESS;
}

Expand All @@ -2192,6 +2198,8 @@ int _print_job_tres_bind(job_info_t *job, int width,
right_justify, true);

}
if (suffix)
printf("%s", suffix);
return SLURM_SUCCESS;
}

Expand All @@ -2209,6 +2217,8 @@ int _print_job_tres_freq(job_info_t *job, int width,
right_justify, true);

}
if (suffix)
printf("%s", suffix);
return SLURM_SUCCESS;
}

Expand All @@ -2226,6 +2236,8 @@ int _print_job_tres_per_job(job_info_t *job, int width,
right_justify, true);

}
if (suffix)
printf("%s", suffix);
return SLURM_SUCCESS;
}

Expand All @@ -2243,6 +2255,8 @@ int _print_job_tres_per_node(job_info_t *job, int width,
right_justify, true);

}
if (suffix)
printf("%s", suffix);
return SLURM_SUCCESS;
}

Expand All @@ -2260,6 +2274,8 @@ int _print_job_tres_per_socket(job_info_t *job, int width,
right_justify, true);

}
if (suffix)
printf("%s", suffix);
return SLURM_SUCCESS;
}

Expand All @@ -2277,6 +2293,8 @@ int _print_job_tres_per_task(job_info_t *job, int width,
right_justify, true);

}
if (suffix)
printf("%s", suffix);
return SLURM_SUCCESS;
}

Expand Down

0 comments on commit 9b0399b

Please sign in to comment.