1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Do not invalidate table event messages

- Do not run the risk of suppressing meaningful messages
  for the rest of the cluster, as a many services depend
  on it, like the service records and the distributed
  load balancers.

Signed-off-by: Alessandro Boch <aboch@docker.com>
This commit is contained in:
Alessandro Boch 2017-03-16 00:49:58 -07:00
parent 4bca322c68
commit 9c3c86a931

View file

@ -105,8 +105,7 @@ type tableEventMessage struct {
} }
func (m *tableEventMessage) Invalidates(other memberlist.Broadcast) bool { func (m *tableEventMessage) Invalidates(other memberlist.Broadcast) bool {
otherm := other.(*tableEventMessage) return false
return m.id == otherm.id && m.tname == otherm.tname && m.key == otherm.key
} }
func (m *tableEventMessage) Message() []byte { func (m *tableEventMessage) Message() []byte {