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

Move Adjacency info inside the NodeMetadata struct #411

Merged
merged 2 commits into from
Sep 1, 2015

Conversation

tomwilkie
Copy link
Contributor

Also moves pseudo node generation to the probes, see #357

@tomwilkie tomwilkie self-assigned this Aug 28, 2015
@tomwilkie tomwilkie changed the title Move Adjacency info inside the NodeMetadata struct [WIP] Move Adjacency info inside the NodeMetadata struct Aug 28, 2015
@tomwilkie tomwilkie force-pushed the 357-adjacencies-to-nodemetadata branch from bc51be3 to 443e92c Compare August 28, 2015 14:34
@tomwilkie tomwilkie changed the title [WIP] Move Adjacency info inside the NodeMetadata struct Move Adjacency info inside the NodeMetadata struct Aug 28, 2015
@tomwilkie tomwilkie removed their assignment Aug 28, 2015
@tomwilkie tomwilkie force-pushed the 357-adjacencies-to-nodemetadata branch from 443e92c to c60999f Compare August 28, 2015 15:06
@tomwilkie tomwilkie force-pushed the 357-adjacencies-to-nodemetadata branch from c60999f to 1f6b3d4 Compare August 28, 2015 15:20
t.NodeMetadatas[srcNodeID] = srcNode

if _, ok := t.NodeMetadatas[dstNodeID]; !ok {
t.NodeMetadatas[dstNodeID] = report.MakeNodeMetadata()

This comment was marked as abuse.

This comment was marked as abuse.

@peterbourgon
Copy link
Contributor

I didn't look deeply at the tests, but this looks good. Once the constructor thing is taken care of (or an alternate suggestion made) 👍

tomwilkie added a commit that referenced this pull request Sep 1, 2015
Move Adjacency info inside the NodeMetadata struct
@tomwilkie tomwilkie merged commit 2177756 into master Sep 1, 2015
@tomwilkie tomwilkie deleted the 357-adjacencies-to-nodemetadata branch September 1, 2015 11:18
@inercia inercia assigned inercia and unassigned inercia Sep 1, 2015
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.

3 participants