Skip to content

Commit

Permalink
Forgot to include daemonsets in renderKubernetesTopologies
Browse files Browse the repository at this point in the history
Yay, needing to remember 10 different obscure places to add a new topology every time.
  • Loading branch information
ekimekim committed Jun 12, 2017
1 parent 611326f commit 2f7932e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion render/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const (
)

func renderKubernetesTopologies(rpt report.Report) bool {
return len(rpt.Pod.Nodes)+len(rpt.Service.Nodes)+len(rpt.Deployment.Nodes)+len(rpt.ReplicaSet.Nodes) >= 1
return len(rpt.Pod.Nodes)+len(rpt.Service.Nodes)+len(rpt.Deployment.Nodes)+len(rpt.ReplicaSet.Nodes)+len(rpt.DaemonSet.Nodes) >= 1
}

func isPauseContainer(n report.Node) bool {
Expand Down

0 comments on commit 2f7932e

Please sign in to comment.