mirror of https://github.com/status-im/consul.git
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.remoteLock.Unlock()
|
||||
|
||||
// Trigger the callback
|
||||
if s.config.ServerUp != nil {
|
||||
s.config.ServerUp()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue