Skip to content

Commit

Permalink
Add pod status to summary table (#1523)
Browse files Browse the repository at this point in the history
Had to shorten the title of # Containers, as it was being truncated.
  • Loading branch information
paulbellamy authored and tomwilkie committed May 19, 2016
1 parent 7d7c97d commit 5d8b1c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion render/detailed/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ var (
Label: "Pods",

Columns: []Column{
{ID: report.Container, Label: "# Containers"},
{ID: kubernetes.State, Label: "State"},
{ID: report.Container, Label: "Containers"},
{ID: kubernetes.IP, Label: "IP"},
},
},
Expand Down
3 changes: 2 additions & 1 deletion render/detailed/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ func TestMakeDetailedHostNode(t *testing.T) {
Label: "Pods",
TopologyID: "pods",
Columns: []detailed.Column{
{ID: report.Container, Label: "# Containers"},
{ID: kubernetes.State, Label: "State"},
{ID: report.Container, Label: "Containers"},
{ID: kubernetes.IP, Label: "IP"},
},
Nodes: []detailed.NodeSummary{podNodeSummary},
Expand Down

0 comments on commit 5d8b1c0

Please sign in to comment.