Initialize a non-empty number of Consul Datacenters. No functional change.

This commit is contained in:
Sean Chittenden 2016-06-20 15:26:59 -07:00
parent b78c95d37e
commit 9bf6e61655
No known key found for this signature in database
GPG Key ID: 4EBC9DC16C2E5E16
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ func NewServer(config *Config) (*Server, error) {
localConsuls: make(map[string]*agent.Server), localConsuls: make(map[string]*agent.Server),
logger: logger, logger: logger,
reconcileCh: make(chan serf.Member, 32), reconcileCh: make(chan serf.Member, 32),
remoteConsuls: make(map[string][]*agent.Server), remoteConsuls: make(map[string][]*agent.Server, 4),
rpcServer: rpc.NewServer(), rpcServer: rpc.NewServer(),
rpcTLS: incomingTLS, rpcTLS: incomingTLS,
tombstoneGC: gc, tombstoneGC: gc,