daemon: Task: track relation to parent job

refs #67
This commit is contained in:
Christian Schwarz
2018-04-05 22:18:22 +02:00
parent 0764f8824e
commit 0895e02844
5 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ func (j *PullJob) JobStart(ctx context.Context) {
log := ctx.Value(contextKeyLog).(Logger)
defer log.Info("exiting")
j.task = NewTask("main", log)
j.task = NewTask("main", j, log)
// j.task is idle here idle here