mirror of
https://github.com/weaveworks/scope.git
synced 2026-08-18 20:07:06 +00:00
remove hostID from container image node ids
This commit is contained in:
+2
-2
@@ -107,8 +107,8 @@ func MakeContainerNodeID(containerID string) string {
|
||||
}
|
||||
|
||||
// MakeContainerImageNodeID produces a container image node ID from its composite parts.
|
||||
func MakeContainerImageNodeID(hostID, containerImageID string) string {
|
||||
return hostID + ScopeDelim + containerImageID
|
||||
func MakeContainerImageNodeID(containerImageID string) string {
|
||||
return containerImageID + ScopeDelim + "<container_image>"
|
||||
}
|
||||
|
||||
// MakePodNodeID produces a pod node ID from its composite parts.
|
||||
|
||||
Reference in New Issue
Block a user