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:
parent
4bca322c68
commit
9c3c86a931
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue