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

simplify connection join #2714

Merged
merged 4 commits into from
Jul 13, 2017
Merged

simplify connection join #2714

merged 4 commits into from
Jul 13, 2017

Conversation

rade
Copy link
Member

@rade rade commented Jul 13, 2017

A few tweaks to simplify the code.

I've checked that this doesn't change the topology outputs by running before/after comparisons based on a recent Weave Cloud Prod report.

rade added 4 commits July 13, 2017 16:28
This guarantees that the output won't contain bare nodes containing
just an id and topology, as produced by ipToNode. Previously this was
ensured by calling convention, now it's ensured by construction.
We always join with the original renderer and hence all the nodes
produced by ipToNode will get their other data, including topology,
via that route.
IP nodes are children of the "proper" topology nodes, not the other
way round. The former relationship is established in ipToNode.
@rade rade requested a review from ekimekim July 13, 2017 16:58
Copy link
Contributor

@ekimekim ekimekim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! Thanks for the well-split-up and informative commits.

@rade rade merged commit dcf839e into master Jul 13, 2017
@dlespiau dlespiau deleted the simplify-connection-join-2 branch November 2, 2017 12:29
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