Render: add ContainerName into output node when rendering processes

This was a bug - we spend eight lines fetching the name, then didn't
assign the new node into the variable.
This commit is contained in:
Bryan Boreham
2018-06-04 16:51:52 +00:00
parent d7d3244148
commit 129d2e27fa

View File

@@ -44,7 +44,7 @@ func (r processWithContainerNameRenderer) Render(rpt report.Report) Nodes {
if !ok {
continue
}
propagateLatest(docker.ContainerName, container, p)
p = propagateLatest(docker.ContainerName, container, p)
outputs[id] = p
}
return Nodes{Nodes: outputs, Filtered: processes.Filtered}