Initialize a non-empty number of Consul Datacenters. No functional change.
This commit is contained in:
parent
b78c95d37e
commit
9bf6e61655
|
@ -222,7 +222,7 @@ func NewServer(config *Config) (*Server, error) {
|
|||
localConsuls: make(map[string]*agent.Server),
|
||||
logger: logger,
|
||||
reconcileCh: make(chan serf.Member, 32),
|
||||
remoteConsuls: make(map[string][]*agent.Server),
|
||||
remoteConsuls: make(map[string][]*agent.Server, 4),
|
||||
rpcServer: rpc.NewServer(),
|
||||
rpcTLS: incomingTLS,
|
||||
tombstoneGC: gc,
|
||||
|
|
Loading…
Reference in New Issue