Remove copy pasted duplicate line, update documentation.
This commit is contained in:
parent
aadaae1d2d
commit
a215c764cd
|
@ -139,9 +139,6 @@ func (s *Server) lanNodeJoin(me serf.MemberEvent) {
|
|||
s.maybeBootstrap()
|
||||
}
|
||||
|
||||
// Update id to address map
|
||||
s.serverLookup.AddServer(serverMeta)
|
||||
|
||||
// Kick the join flooders.
|
||||
s.FloodNotify()
|
||||
}
|
||||
|
|
|
@ -166,7 +166,8 @@ type Server struct {
|
|||
// which SHOULD only consist of Consul servers
|
||||
serfWAN *serf.Serf
|
||||
|
||||
// serverLookup provides fast and thread-safe lookup by id and address
|
||||
// serverLookup tracks server consuls in the local datacenter.
|
||||
// Used to do leader forwarding and provide fast lookup by server id and address
|
||||
serverLookup *ServerLookup
|
||||
|
||||
// floodLock controls access to floodCh.
|
||||
|
|
Loading…
Reference in New Issue