mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
@@ -2654,7 +2654,9 @@ func (c *client) processRouteConnect(srv *Server, arg []byte, lang string) error
|
||||
// We will take on their name since theirs is configured or higher then ours.
|
||||
srv.setClusterName(proto.Cluster)
|
||||
if !proto.Dynamic {
|
||||
srv.getOpts().Cluster.Name = proto.Cluster
|
||||
srv.optsMu.Lock()
|
||||
srv.opts.Cluster.Name = proto.Cluster
|
||||
srv.optsMu.Unlock()
|
||||
}
|
||||
c.mu.Lock()
|
||||
remoteID := c.opts.Name
|
||||
|
||||
Reference in New Issue
Block a user