From 91339aeae03d231ef96f71a95e0739627e0a9b8e Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Wed, 4 May 2016 17:17:42 +0100 Subject: [PATCH] Detect pause containers correctly --- probe/kubernetes/reporter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/probe/kubernetes/reporter.go b/probe/kubernetes/reporter.go index fcf7ea9fa..948e6214d 100644 --- a/probe/kubernetes/reporter.go +++ b/probe/kubernetes/reporter.go @@ -92,7 +92,7 @@ func (r *Reporter) podEvent(e Event, pod Pod) { } func isPauseContainer(n report.Node, rpt report.Report) bool { - containerImageIDs, ok := n.Sets.Lookup(report.ContainerImage) + containerImageIDs, ok := n.Parents.Lookup(report.ContainerImage) if !ok { return false }