From d4566974dba913af10eb57f46b383d72fb5d6042 Mon Sep 17 00:00:00 2001 From: FUJIWARA Shunichiro Date: Mon, 8 Aug 2022 17:08:17 +0900 Subject: [PATCH] fix cast --- tracer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracer.go b/tracer.go index 7be8fe0..abff49e 100644 --- a/tracer.go +++ b/tracer.go @@ -243,7 +243,7 @@ func (t *Tracer) traceTask(ctx context.Context, cluster string, taskID string) ( if task.StoppedReason != nil { t.AddEvent(task.StoppingAt, "TASK", "StoppedReason:"+*task.StoppedReason) } - t.AddEvent(task.StoppingAt, "TASK", fmt.Sprintf("StoppedCode:%s", task.StopCode)) + t.AddEvent(task.StoppingAt, "TASK", "StoppedCode:"+string(task.StopCode)) t.AddEvent(task.ExecutionStoppedAt, "TASK", "Execution stopped") for _, c := range task.Containers {