Cleans up after merge.
This commit is contained in:
parent
82b6fbd844
commit
0269bd0e41
|
@ -361,6 +361,6 @@ func (s *Server) getServerHealth(id string) *structs.ServerHealth {
|
|||
func (s *Server) getServerStats(server *agent.Server) (structs.ServerStats, error) {
|
||||
var args struct{}
|
||||
var reply structs.ServerStats
|
||||
err := s.connPool.RPC(s.config.Datacenter, server.Addr, server.Version, "Status.RaftStats", &args, &reply)
|
||||
err := s.connPool.RPC(s.config.Datacenter, server.Addr.String(), server.Version, "Status.RaftStats", &args, &reply)
|
||||
return reply, err
|
||||
}
|
||||
|
|
|
@ -257,7 +257,7 @@ func NewServer(config *Config) (*Server, error) {
|
|||
logger: logger,
|
||||
reconcileCh: make(chan serf.Member, 32),
|
||||
remoteConsuls: make(map[string][]*agent.Server, 4),
|
||||
router: servers.NewRouter(loogger, shutdownCh),
|
||||
router: servers.NewRouter(logger, shutdownCh),
|
||||
rpcServer: rpc.NewServer(),
|
||||
rpcTLS: incomingTLS,
|
||||
tombstoneGC: gc,
|
||||
|
|
Loading…
Reference in New Issue