Merge pull request #199 from tomerf/sort_ip_and_node

Fixed sort pod by node and added sort by IP
mine
Fernand Galiana 2019-06-03 13:26:39 -06:00 committed by GitHub
commit e9189df2d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {