feat: replace ciphertext in log

This commit is contained in:
Jason Song committed 2022-11-24 15:37:50 +08:00
1 parent 222b5100b6
commit d650bae0b6
2 files changed
+23 -11

No files matched your search

+1 -1
View File
@@ -131,7 +131,7 @@ func (t *Task) Run(ctx context.Context, task *runnerv1.Task) error {
defer globalTaskMap.Delete(task.Id)
lastWords := ""
reporter := NewReporter(ctx, cancel, t.client, task.Id)
reporter := NewReporter(ctx, cancel, t.client, task)
defer func() {
_ = reporter.Close(lastWords)
}()