From df985a300029edd89efadd1273888ec52fad350a Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Sun, 19 Dec 2021 14:26:39 +0800 Subject: [PATCH] typo --- task/task.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/task/task.go b/task/task.go index 1a6282c..eb90dd6 100644 --- a/task/task.go +++ b/task/task.go @@ -66,12 +66,12 @@ func (t *_task) Run() { } }() l.Info().Str("task_id", t.Task.ID). - Str("task name", t.name). + Str("task_name", t.name). Msg("task started.") err := t.Task.Func(t.carry, t.args...) if err != nil { l.Error().Err(err).Str("task_id", t.Task.ID). - Str("task name", t.name).Msg("task error") + Str("task_name", t.name).Msg("task error") } Reporter <- &Report{ Entry: t.id,