diff --git a/internal/app.go b/internal/app.go index 1dc2e29..5683a86 100644 --- a/internal/app.go +++ b/internal/app.go @@ -393,8 +393,9 @@ func (e *App) getTask() { } for _, t := range describe.Tasks { + task := t taskId := strings.Split(*t.TaskArn, "/")[2] - e.tasks[taskId] = &t + e.tasks[taskId] = &task } selection, err := selectTask(e.tasks)