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

remove Node.Edges #2992

Merged
merged 3 commits into from
Dec 17, 2017
Merged

remove Node.Edges #2992

merged 3 commits into from
Dec 17, 2017

Conversation

rade
Copy link
Member

@rade rade commented Dec 17, 2017

It is unused and none of the adjacency mapping code in the renderer takes any notice of it. Removing this shrinks the report size.

Edges were introduced in #838. At the time we had an experimental packet sniffer under experimental/sniff/sniffer.go. That got removed in #1646.

We can resurrect this if we ever decide to add meta data to edges.

It is unused and none of the adjacency mapping code in the renderer
takes any notice of it. Removing this shrinks the report size.

Edges were introduced in #838. At the time we had an experimental
packet sniffer under experimental/sniff/sniffer.go. That got removed
in #1646.

We can resurrect this if we ever decide to add meta data to edges.
@rade rade requested a review from bboreham December 17, 2017 13:34
@bboreham
Copy link
Collaborator

There are a number of comments in report/report.go saying "Edges are present" or "Edges are not present"; should they be updated ?

@rade
Copy link
Member Author

rade commented Dec 17, 2017

There are a number of comments in report/report.go saying "Edges are present" or "Edges are not present"; should they be updated ?

Adjacencies are edges; we use the two terms interchangeably. I've updated the comments to clarify that relationship, and removed vestiges of edge metadata from comments too, and fixed an incorrect "are not present" assertion (edges on Overlay are present).

@rade rade merged commit acb8951 into master Dec 17, 2017
@rade rade deleted the remove-node-edges branch December 25, 2017 10:15
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