feat: replace ciphertext in log
This commit is contained in:
parent
222b5100b6
commit
d650bae0b6
2 changed files with 23 additions and 11 deletions
|
@ -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)
|
||||
}()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue