Register peerStreamServer internally to enable RPC forwarding

This commit is contained in:
Chris S. Kim 2022-08-10 15:42:54 -04:00 committed by Chris S. Kim
parent de73171202
commit 1ef22360c3
1 changed files with 1 additions and 0 deletions

View File

@ -816,6 +816,7 @@ func newGRPCHandlerFromConfig(deps Deps, config *Config, s *Server) connHandler
// Note: these external gRPC services are also exposed on the internal server to
// enable RPC forwarding.
s.peerStreamServer.Register(srv)
s.externalACLServer.Register(srv)
s.externalConnectCAServer.Register(srv)
}