This commit is contained in:
Armon Dadgar 2014-01-09 11:33:23 -08:00
parent 799cba67a5
commit d781e29d7c
1 changed files with 2 additions and 2 deletions

View File

@ -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})