render/pod: Fix a typo in Map2Parent where UnmanagedID will always be used for noParentsPseudoID

Thankfully we only ever set it to UnmanagedID right now, so no user-facing bug.
This commit is contained in:
Mike Lang
2017-07-05 11:33:06 -07:00
parent c7a3f7c2fd
commit 399cca026c

View File

@@ -175,7 +175,7 @@ func Map2Parent(
if len(result) == 0 && noParentsPseudoID != "" {
// Map to pseudo node
id := MakePseudoNodeID(UnmanagedID, report.ExtractHostID(n))
id := MakePseudoNodeID(noParentsPseudoID, report.ExtractHostID(n))
node := NewDerivedPseudoNode(id, n)
result[id] = node
}