remove unused functions
parent
045f39cd88
commit
d50539a71e
|
|
@ -151,18 +151,6 @@ func (p *Pod) attachCmd(evt *tcell.EventKey) *tcell.EventKey {
|
||||||
return nil
|
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...
|
// Helpers...
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -319,12 +319,6 @@ func (x *Xray) attachCmd(evt *tcell.EventKey) *tcell.EventKey {
|
||||||
return nil
|
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 {
|
func (x *Xray) viewCmd(evt *tcell.EventKey) *tcell.EventKey {
|
||||||
spec := x.selectedSpec()
|
spec := x.selectedSpec()
|
||||||
if spec == nil {
|
if spec == nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue