fix: call RunDaemon

pull/2/head
Jason Song 2022-11-01 18:25:41 +08:00
parent 93c8de3ec4
commit 93e42d1465
1 changed files with 1 additions and 0 deletions

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())