From 02fa6e9d96631ae7a3013eca35b2b2992deded50 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Wed, 23 Apr 2014 12:20:54 -0700 Subject: [PATCH] consul: Do not fire ServerUp on WAN node join --- consul/serf.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/consul/serf.go b/consul/serf.go index 3038d0abfc..df10a5ba5d 100644 --- a/consul/serf.go +++ b/consul/serf.go @@ -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() - } } }