Skip to content

Commit

Permalink
fix task end message env variables copy code
Browse files Browse the repository at this point in the history
cloned code from init message env variable copy code
needed conversion to the _end variable.
  • Loading branch information
baallan committed Feb 27, 2024
1 parent 9b255fd commit 35fb695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldms/src/sampler/netlink/netlink-notifier.c
Original file line number Diff line number Diff line change
Expand Up @@ -3449,7 +3449,7 @@ static jbuf_t make_process_end_data_slurm(forkstat_t *ft, const struct proc_info
int i, iend;
iend = sizeof(slurm_env_end_default)/sizeof(slurm_env_end_default[0]);
for (i = 0 ; i < iend; i++)
if (add_env_attr(&slurm_env_start_default[i], &jb, info, ft))
if (add_env_attr(&slurm_env_end_default[i], &jb, info, ft))
goto out_1;
jb = jbuf_append_str(jb,
"\"task_id\":" NULL_STEP_ID ","
Expand Down

0 comments on commit 35fb695

Please sign in to comment.