We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 476ba90 commit 66f3c75Copy full SHA for 66f3c75
src/modules/job-list/job_state.c
@@ -283,7 +283,7 @@ static void update_job_state_and_list (struct list_ctx *ctx,
283
double timestamp)
284
{
285
zlistx_t *oldlist, *newlist;
286
- struct job_state_ctx *jsctx = job->ctx->jsctx;
+ struct job_state_ctx *jsctx = ctx->jsctx;
287
288
oldlist = get_list (jsctx, job->state);
289
newlist = get_list (jsctx, newstate);
@@ -802,7 +802,7 @@ static int add_state_transition (struct job *job,
802
static void process_next_state (struct list_ctx *ctx, struct job *job)
803
804
struct state_transition *st;
805
806
807
while ((st = zlist_head (job->next_states))
808
&& !st->processed) {
0 commit comments