Skip to content

Commit

Permalink
fix cast
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Aug 8, 2022
1 parent ac270a4 commit d456697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d456697

Please sign in to comment.