mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 05:23:04 +00:00
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
|
// setupRPC is used to setup the RPC listener
|
||||||
func (s *Server) setupRPC() error {
|
func (s *Server) setupRPC() error {
|
||||||
// Register the handlers
|
// Register the handlers
|
||||||
s.rpcServer.Register(&Status{server: s})
|
s.rpcServer.Register(&Status{s})
|
||||||
s.rpcServer.Register(&Raft{server: s})
|
s.rpcServer.Register(&Raft{s})
|
||||||
s.rpcServer.Register(&Catalog{s})
|
s.rpcServer.Register(&Catalog{s})
|
||||||
s.rpcServer.Register(&Health{s})
|
s.rpcServer.Register(&Health{s})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user