Skip to content

Commit

Permalink
BF: CS-918 some job modifications done with qalter are not visible in…
Browse files Browse the repository at this point in the history
… qstat -j job_id

// additional change for modifying command_args
  • Loading branch information
jgabler-hpc committed Jan 6, 2025
1 parent d23605f commit 33c881a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/daemons/qmaster/sge_job_qmaster.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2629,15 +2629,16 @@ mod_job_attributes(const sge_gdi_packet_class_t *packet, lListElem *new_job, lLi
if ((pos = lGetPosViaElem(jep, JB_qs_args, SGE_NO_ABORT)) >= 0) {
DPRINTF("got new JB_qs_args\n");
lSetList(new_job, JB_qs_args, lCopyList("", lGetList(jep, JB_qs_args)));
*trigger |= MOD_EVENT;
snprintf(SGE_EVENT, SGE_EVENT_SIZE, MSG_SGETEXT_MOD_JOBS_SU, MSG_JOB_QSARGS, sge_u32c(jobid));
answer_list_add(alpp, SGE_EVENT, STATUS_OK, ANSWER_QUALITY_INFO);
}

/* ---- JB_job_args */
if ((pos = lGetPosViaElem(jep, JB_job_args, SGE_NO_ABORT)) >= 0) {
DPRINTF("got new JB_job_args\n");
lSetList(new_job, JB_job_args,
lCopyList("", lGetList(jep, JB_job_args)));
lSetList(new_job, JB_job_args, lCopyList("", lGetList(jep, JB_job_args)));
*trigger |= MOD_EVENT;
snprintf(SGE_EVENT, SGE_EVENT_SIZE, MSG_SGETEXT_MOD_JOBS_SU, MSG_JOB_SCRIPTARGS, sge_u32c(jobid));
answer_list_add(alpp, SGE_EVENT, STATUS_OK, ANSWER_QUALITY_INFO);
}
Expand Down

0 comments on commit 33c881a

Please sign in to comment.