mirror of https://github.com/status-im/consul.git
Cleanup
This commit is contained in:
parent
799cba67a5
commit
d781e29d7c
|
@ -224,8 +224,8 @@ func (s *Server) setupRaft() error {
|
|||
// setupRPC is used to setup the RPC listener
|
||||
func (s *Server) setupRPC() error {
|
||||
// Register the handlers
|
||||
s.rpcServer.Register(&Status{server: s})
|
||||
s.rpcServer.Register(&Raft{server: s})
|
||||
s.rpcServer.Register(&Status{s})
|
||||
s.rpcServer.Register(&Raft{s})
|
||||
s.rpcServer.Register(&Catalog{s})
|
||||
s.rpcServer.Register(&Health{s})
|
||||
|
||||
|
|
Loading…
Reference in New Issue