Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3732 from weaveworks/mesh-0-4
Browse files Browse the repository at this point in the history
Update Weave Mesh library to 0.4
  • Loading branch information
bboreham authored Nov 5, 2019
2 parents b871c1e + 640c5c3 commit 4a5d203
Show file tree
Hide file tree
Showing 10 changed files with 54 additions and 44 deletions.
7 changes: 3 additions & 4 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions ipam/testutils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ func (m *mockGossipComms) GossipBroadcast(update mesh.GossipData) {
}
}

func (m *mockGossipComms) GossipNeighbourSubset(update mesh.GossipData) {
m.GossipBroadcast(update)
}
func equalByteBuffer(a, b []byte) bool {
if len(a) != len(b) {
return false
Expand Down
4 changes: 4 additions & 0 deletions testing/gossip/mocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,3 +199,7 @@ func (client TestRouterClient) GossipUnicast(dstPeerName mesh.PeerName, buf []by
func (client TestRouterClient) GossipBroadcast(update mesh.GossipData) {
client.router.gossipBroadcast(client.sender, update)
}

func (client TestRouterClient) GossipNeighbourSubset(update mesh.GossipData) {
client.router.gossip(client.sender, update)
}
4 changes: 0 additions & 4 deletions vendor/github.com/weaveworks/mesh/circle.yml

This file was deleted.

3 changes: 3 additions & 0 deletions vendor/github.com/weaveworks/mesh/gossip.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions vendor/github.com/weaveworks/mesh/gossip_channel.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 4 additions & 13 deletions vendor/github.com/weaveworks/mesh/lint

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 5 additions & 8 deletions vendor/github.com/weaveworks/mesh/peers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions vendor/github.com/weaveworks/mesh/router.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 23 additions & 12 deletions vendor/github.com/weaveworks/mesh/routes.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4a5d203

Please sign in to comment.