Skip to content

Commit

Permalink
Merge pull request #2992 from weaveworks/remove-node-edges
Browse files Browse the repository at this point in the history
remove Node.Edges
  • Loading branch information
rade authored Dec 17, 2017
2 parents cc85992 + 315b050 commit acb8951
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 599 deletions.
2 changes: 1 addition & 1 deletion probe/endpoint/connection_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func (t *connectionTracker) addConnection(rpt *report.Report, incoming bool, ft
fromNode = t.makeEndpointNode(namespaceID, ft.fromAddr, ft.fromPort, extraFromNode)
toNode = t.makeEndpointNode(namespaceID, ft.toAddr, ft.toPort, extraToNode)
)
rpt.Endpoint = rpt.Endpoint.AddNode(fromNode.WithEdge(toNode.ID, report.EdgeMetadata{}))
rpt.Endpoint = rpt.Endpoint.AddNode(fromNode.WithAdjacent(toNode.ID))
rpt.Endpoint = rpt.Endpoint.AddNode(toNode)
}

Expand Down
246 changes: 0 additions & 246 deletions report/edge_metadatas.go

This file was deleted.

Loading

0 comments on commit acb8951

Please sign in to comment.