Skip to content

Commit

Permalink
fix(app): #53 fix pointer issue which was overwriting tasks in map
Browse files Browse the repository at this point in the history
  • Loading branch information
tedsmitt committed Oct 15, 2024
1 parent d81ac71 commit cc67ed9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cc67ed9

Please sign in to comment.