Skip to content

Commit

Permalink
Enable grpcurl list
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Mar 17, 2024
1 parent a0404cd commit b252aca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ func (s *server) Run() error {
grpcreflect.NewStaticReflector(apiv1connect.IpamServiceName),
compress.WithAll(compress.LevelBalanced),
))
mux.Handle(grpcreflect.NewHandlerV1Alpha(
grpcreflect.NewStaticReflector(apiv1connect.IpamServiceName),
compress.WithAll(compress.LevelBalanced),
))

server := http.Server{
Addr: s.c.GrpcServerEndpoint,
Expand Down

0 comments on commit b252aca

Please sign in to comment.