vendor: update mesh

Now, broadcast operations cannot fail. So, update various broadcast-y
methods to no longer return errors.
This commit is contained in:
Peter Bourgon committed 2016-01-28 10:43:32 +01:00
1 parent 1a590b3ffa
commit 0dff2e66c6
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 {