Detect pause containers correctly

This commit is contained in:
Tom Wilkie
2016-05-04 17:17:42 +01:00
parent 4140d288a8
commit 91339aeae0

View File

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