Skip to content

Commit

Permalink
Always use stack ID in the open command
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasmik committed Jul 20, 2023
1 parent a5c3737 commit be2a06f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/stack/stack_selector.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func findAndSelectStack(ctx context.Context, p *stackSearchParams, forcePrompt b
return "", errNoStackFound
}

selected := items[0]
selected := found[items[0]]
if len(items) > 1 || forcePrompt {
if len(items) == p.count {
fmt.Printf("Search results exceeded maximum capacity (%d) some stacks might be missing\n", p.count)
Expand Down

0 comments on commit be2a06f

Please sign in to comment.