From db06d96aeea99a60bf4f0df387b30c127a90d60f Mon Sep 17 00:00:00 2001 From: sgasho Date: Thu, 27 Jun 2024 14:45:42 +0900 Subject: [PATCH] Shellin -> ShellIn --- internal/view/pod.go | 4 ++-- internal/view/xray.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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) }