diff --git a/internal/view/pod.go b/internal/view/pod.go index f425c1a1..a33cf515 100644 --- a/internal/view/pod.go +++ b/internal/view/pod.go @@ -151,18 +151,6 @@ func (p *Pod) attachCmd(evt *tcell.EventKey) *tcell.EventKey { return nil } -func (p *Pod) shellIn(path, co string) { - p.Stop() - shellIn(p.App(), path, co) - p.Start() -} - -func (p *Pod) attachIn(path, co string) { - p.Stop() - attachIn(p.App(), path, co) - p.Start() -} - // ---------------------------------------------------------------------------- // Helpers... diff --git a/internal/view/xray.go b/internal/view/xray.go index 928f2436..201f26fd 100644 --- a/internal/view/xray.go +++ b/internal/view/xray.go @@ -319,12 +319,6 @@ func (x *Xray) attachCmd(evt *tcell.EventKey) *tcell.EventKey { return nil } -func (x *Xray) attachIn(path, co string) { - x.Stop() - attachIn(x.app, path, co) - x.Start() -} - func (x *Xray) viewCmd(evt *tcell.EventKey) *tcell.EventKey { spec := x.selectedSpec() if spec == nil {