Skip to content

Commit 406e62e

Browse files
committed
show containers picker even if default-container is specified
1 parent a61d19d commit 406e62e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

internal/view/pod.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -372,11 +372,6 @@ func containerShellIn(a *App, comp model.Component, path, co string) error {
372372
if err != nil {
373373
return err
374374
}
375-
if dco, ok := dao.GetDefaultContainer(&pod.ObjectMeta, &pod.Spec); ok {
376-
resumeShellIn(a, comp, path, dco)
377-
return nil
378-
}
379-
380375
cc := fetchContainers(&pod.ObjectMeta, &pod.Spec, false)
381376
if len(cc) == 1 {
382377
resumeShellIn(a, comp, path, cc[0])

0 commit comments

Comments
 (0)