Merge pull request #1924 from weaveworks/update-mesh

Update mesh
This commit is contained in:
Matthias Radestock committed 2016-01-28 10:04:40 +00:00
commit cab4e37ef8
6 files changed
+23 -39

No files matched your search

+1 -2
View File
@@ -49,7 +49,7 @@ func (m *mockGossipComms) String() string {
// that the contents of messages are never re-ordered. Which, for instance,
// requires they are not based off iterating through a map.
func (m *mockGossipComms) GossipBroadcast(update mesh.GossipData) error {
func (m *mockGossipComms) GossipBroadcast(update mesh.GossipData) {
m.Lock()
defer m.Unlock()
buf := []byte{}
@@ -63,7 +63,6 @@ func (m *mockGossipComms) GossipBroadcast(update mesh.GossipData) error {
// Swallow this message
m.messages = m.messages[1:]
}
return nil
}
func equalByteBuffer(a, b []byte) bool {