mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
consul: Do not fire ServerUp on WAN node join
This commit is contained in:
parent
b4ae24db02
commit
02fa6e9d96
@ -137,11 +137,6 @@ func (s *Server) remoteJoin(me serf.MemberEvent) {
|
|||||||
s.remoteConsuls[parts.Datacenter] = append(existing, addr)
|
s.remoteConsuls[parts.Datacenter] = append(existing, addr)
|
||||||
}
|
}
|
||||||
s.remoteLock.Unlock()
|
s.remoteLock.Unlock()
|
||||||
|
|
||||||
// Trigger the callback
|
|
||||||
if s.config.ServerUp != nil {
|
|
||||||
s.config.ServerUp()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user