Skip to content

Commit

Permalink
Don't merge in container image metadata into containers anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Wilkie committed May 13, 2016
1 parent fc018af commit 0e693be
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions render/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ type containerWithImageNameRenderer struct {
Renderer
}

// Render produces a process graph where the minor labels contain the
// container name, if found. It also merges the image node metadata into the
// container metadata.
// Render produces a container graph where the the latest metadata contains the
// container image name, if found.
func (r containerWithImageNameRenderer) Render(rpt report.Report, dct Decorator) report.Nodes {
containers := r.Renderer.Render(rpt, dct)
images := SelectContainerImage.Render(rpt, dct)
Expand All @@ -81,7 +80,7 @@ func (r containerWithImageNameRenderer) Render(rpt report.Report, dct Decorator)
continue
}
output := c.Copy()
output.Latest = image.Latest.Merge(c.Latest)
output = propagateLatest(docker.ImageName, image, output)
outputs[id] = output
}
return outputs
Expand Down

0 comments on commit 0e693be

Please sign in to comment.