mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-21 22:36:39 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user