Skip to content

Commit

Permalink
Merge pull request #1348 from weaveworks/1196-no-image-version-in-par…
Browse files Browse the repository at this point in the history
…ents

Strip image version from parent links
  • Loading branch information
paulbellamy committed Apr 19, 2016
2 parents 693c40c + 7d685ef commit f8fb829
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion render/detailed/parents.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"github.com/weaveworks/scope/probe/docker"
"github.com/weaveworks/scope/probe/host"
"github.com/weaveworks/scope/probe/kubernetes"
"github.com/weaveworks/scope/render"
"github.com/weaveworks/scope/report"
)

Expand Down Expand Up @@ -84,7 +85,7 @@ func containerImageParent(n report.Node) Parent {
imageName, _ := n.Latest.Lookup(docker.ImageName)
return Parent{
ID: n.ID,
Label: imageName,
Label: render.ImageNameWithoutVersion(imageName),
TopologyID: "containers-by-image",
}
}
Expand Down

0 comments on commit f8fb829

Please sign in to comment.