Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't render any metrics/metadata for uncontained node #956

Merged
merged 1 commit into from
Feb 12, 2016

Conversation

paulbellamy
Copy link
Contributor

Fixes #951

Also added a bit more helpful logging to the tests.

@2opremio, ptal...

@paulbellamy paulbellamy force-pushed the 951-uncontained-no-render branch from 6305671 to 8c4f025 Compare February 11, 2016 16:01
@@ -441,8 +441,10 @@ func MapProcess2Container(n RenderableNode, _ report.Networks) RenderableNodes {
id = MakeContainerID(containerID)
node = NewDerivedNode(id, n)
} else {
nCopy := n.Copy()
nCopy.Node = nCopy.Node.WithID("").WithTopology("") // Wipe the ID so it cannot be rendered.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

paulbellamy added a commit that referenced this pull request Feb 12, 2016
don't render any metrics/metadata for uncontained node
@paulbellamy paulbellamy merged commit fc06569 into master Feb 12, 2016
@paulbellamy paulbellamy deleted the 951-uncontained-no-render branch February 12, 2016 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants