Skip to content

Commit

Permalink
jsc: add missing "s:i" parameter to event unpack in get_submit_jcb
Browse files Browse the repository at this point in the history
The job submission flux event that was being unpacked in
`get_submit_jcb` had a missing "s:i" parameter.  Without this
parameter, the walltime of all jobs was staying at 0.

Fixes the errors that manifested in the easy backfilling testcase failure
seen in flux-sched/pull/313
  • Loading branch information
SteVwonder authored and dongahn committed Apr 21, 2018
1 parent 28de35f commit 9649a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/libjsc/jstatctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ static json_object *get_submit_jcb (flux_t *h, const flux_msg_t *msg, int64_t nj
char *key = xasprintf ("%"PRId64, nj);
jscctx_t *ctx = getctx (h);

if (flux_event_unpack (msg, NULL, "{ s:i s:i s:i s:i }",
if (flux_event_unpack (msg, NULL, "{ s:i s:i s:i s:i s:i }",
"ntasks", &ntasks,
"nnodes", &nnodes,
"ncores", &ncores,
Expand Down

0 comments on commit 9649a59

Please sign in to comment.