Various fixes, init smap for leafnodes with gateways too

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2019-05-02 14:22:51 -07:00
parent be02d7609d
commit 5292ec1598
8 changed files with 97 additions and 26 deletions

View File

@@ -975,7 +975,7 @@ func (s *Server) Start() {
<-ch
}
// Solict remote servers for leaf node connections.
// Solicit remote servers for leaf node connections.
if len(opts.LeafNode.Remotes) > 0 {
s.solicitLeafNodeRemotes(opts.LeafNode.Remotes)
}