Oops! missed a file

mine
derailed 2019-08-28 07:17:15 -06:00
parent fe93bd229b
commit e270fba554
1 changed files with 1 additions and 18 deletions

View File

@ -15,7 +15,7 @@ import (
const (
containerFmt = "[fg:bg:b]%s([hilite:bg:b]%s[fg:bg:-])"
shellCheck = "command -v bash >/dev/null && bash || sh"
shellCheck = "command -v bash >/dev/null && exec bash || exec sh"
)
type podView struct {
@ -127,23 +127,6 @@ func (v *podView) killCmd(evt *tcell.EventKey) *tcell.EventKey {
return nil
}
// func (v *podView) sniffCmd(evt *tcell.EventKey) *tcell.EventKey {
// if !v.masterPage().RowSelected() {
// return evt
// }
// ns, n := namespaced(v.masterPage().GetSelectedItem())
// var args []string
// args = append(args, "sniff", n, "-n", ns)
// if runK(true, v.app, args...) {
// v.app.Flash().Info("Sniff launched!")
// } else {
// v.app.Flash().Info("Sniff failed!")
// }
// return nil
// }
func (v *podView) logsCmd(evt *tcell.EventKey) *tcell.EventKey {
if v.viewLogs(false) {
return nil