diff --git a/src/scheduler/src/plugins/seqjob_allocator.c b/src/scheduler/src/plugins/seqjob_allocator.c index bea24bb..c99ce78 100644 --- a/src/scheduler/src/plugins/seqjob_allocator.c +++ b/src/scheduler/src/plugins/seqjob_allocator.c @@ -102,8 +102,8 @@ static int my_alloc(xce_sched_plugin_t* plugin, xce_sched_ctx_t* ctx) xvec_t* uncomit = NULL; xce_sched_worker_t* w = NULL; - reason = make_pendreason(0); - schedobj->reason = reason; + reason = make_pendreason(0); + ctx->reason = reason; if (reason == NULL) { return -ENOMEM; }