Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Caio Begotti committed Feb 7, 2020
1 parent 3c6061e commit 94d9870
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ func (s sortablePods) Less(i, j int) bool {
case "restarts":
return s[i].restarts < s[j].restarts
case "age":
// sorting the start time essentially does the same thing but we can have a more
// meaningful table with the age of pods if the order is reversed, otherwise age
// is quite useless most of the time... kind of hackish, i know
return s[i].start > s[j].start
case "start":
return s[i].start < s[j].start
Expand Down

0 comments on commit 94d9870

Please sign in to comment.