diff --git a/internal/view/pod.go b/internal/view/pod.go index 75e5a2fb04..879bd6b487 100644 --- a/internal/view/pod.go +++ b/internal/view/pod.go @@ -236,7 +236,7 @@ func (p *Pod) shellCmd(evt *tcell.EventKey) *tcell.EventKey { return nil } - if err := containerShellin(p.App(), p, path, ""); err != nil { + if err := containerShellIn(p.App(), p, path, ""); err != nil { p.App().Flash().Err(err) } @@ -358,7 +358,7 @@ func (p *Pod) transferCmd(evt *tcell.EventKey) *tcell.EventKey { // ---------------------------------------------------------------------------- // Helpers... -func containerShellin(a *App, comp model.Component, path, co string) error { +func containerShellIn(a *App, comp model.Component, path, co string) error { if co != "" { resumeShellIn(a, comp, path, co) return nil diff --git a/internal/view/xray.go b/internal/view/xray.go index 34e9e0ccad..fc7fd366e3 100644 --- a/internal/view/xray.go +++ b/internal/view/xray.go @@ -312,7 +312,7 @@ func (x *Xray) shellCmd(evt *tcell.EventKey) *tcell.EventKey { path = *spec.ParentPath() } - if err := containerShellin(x.app, x, path, co); err != nil { + if err := containerShellIn(x.app, x, path, co); err != nil { x.app.Flash().Err(err) }