Skip to content
Prev Previous commit
Next Next commit
backend: pod list page add status filter
  • Loading branch information
wilhelmguo committed Feb 27, 2019
commit 8782649bf72ae5ac2a5a86809d1d600159dda4eb
2 changes: 2 additions & 0 deletions src/backend/resources/pod/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ func (cell ObjectCell) GetProperty(name dataselector.PropertyName) dataselector.
return dataselector.StdComparableTime(cell.ObjectMeta.CreationTimestamp.Time)
case dataselector.NamespaceProperty:
return dataselector.StdComparableString(cell.ObjectMeta.Namespace)
case dataselector.StatusProperty:
return dataselector.StdComparableString(cell.Status.Phase)
case "podIP":
return dataselector.StdComparableString(cell.Status.PodIP)
default:
Expand Down