Add pod status to summary table (#1523)

Had to shorten the title of # Containers, as it was being truncated.
This commit is contained in:
Paul Bellamy
2016-05-19 10:59:58 +01:00
committed by Tom Wilkie
parent 7d7c97d332
commit 5d8b1c003e
2 changed files with 4 additions and 2 deletions

View File

@@ -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"},
},
},

View File

@@ -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},