Fixed sort pod by node and added sort by IP

mine
Tomer Froumin 2019-05-30 16:44:43 +03:00
parent 999e4806b5
commit bc05e22e67
1 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,8 @@ func (v *podView) extraActions(aa keyActions) {
aa[KeyShiftM] = newKeyAction("Sort MEM", v.sortColCmd(5, false), true)
aa[KeyAltC] = newKeyAction("Sort CPU%", v.sortColCmd(6, false), true)
aa[KeyAltM] = newKeyAction("Sort MEM%", v.sortColCmd(7, false), true)
aa[KeyShiftO] = newKeyAction("Sort Node", v.sortColCmd(8, true), true)
aa[KeyShiftD] = newKeyAction("Sort IP", v.sortColCmd(8, true), true)
aa[KeyShiftO] = newKeyAction("Sort Node", v.sortColCmd(9, true), true)
}
func (v *podView) listContainers(app *appView, _, res, sel string) {