Skip to content
Snippets Groups Projects
Commit b097022b authored by Moe Jette's avatar Moe Jette
Browse files

Clarify comment. No change in logic.

parent eb9da25d
No related branches found
No related tags found
No related merge requests found
......@@ -2704,10 +2704,14 @@ void pack_job(struct job_record *dump_job_ptr, Buf buffer)
select_g_pack_jobinfo(dump_job_ptr->select_jobinfo, buffer);
detail_ptr = dump_job_ptr->details;
if (detail_ptr) /* pack "features" for prolog/epilog use */
/* A few details are always dumped here, others are only dumped
* until the job starts running (at which time they become
* meaningless) */
if (detail_ptr) {
packstr(detail_ptr->features, buffer);
else
} else {
packstr(NULL, buffer);
}
if (detail_ptr && dump_job_ptr->job_state == JOB_PENDING)
_pack_job_details(detail_ptr, buffer);
......
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