fix: call RunDaemon

This commit is contained in:
Jason Song 2022-11-01 18:25:41 +08:00
parent 93c8de3ec4
commit 93e42d1465

View file

@ -134,6 +134,7 @@ func (t *Task) Run(ctx context.Context, task *runnerv1.Task) error {
defer func() { defer func() {
_ = reporter.Close(lastWords) _ = reporter.Close(lastWords)
}() }()
reporter.RunDaemon()
reporter.Logf("received task %v of job %v", task.Id, task.Context.Fields["job"].GetStringValue()) reporter.Logf("received task %v of job %v", task.Id, task.Context.Fields["job"].GetStringValue())