X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=control%2Fgrpcserver.go;h=8410f3e6a3ab987a44e0bd001101ed695cc7f83d;hb=a68d14ca01424a51cc7c9dd24b46282784301cba;hp=009b83d83572e7fcb2deefb1fe12492c52c03d36;hpb=1c42f7363d54ffe1690b097cb028a54ac94c1b43;p=ric-app%2Frc.git diff --git a/control/grpcserver.go b/control/grpcserver.go index 009b83d..8410f3e 100644 --- a/control/grpcserver.go +++ b/control/grpcserver.go @@ -6,6 +6,7 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/health" "google.golang.org/grpc/health/grpc_health_v1" + "google.golang.org/grpc/reflection" "net" ) @@ -39,6 +40,7 @@ func StartgRPCRCControlCommServerRoutine() error { // attach the Ping service to the server rc.RegisterMsgCommServer(lgRPCServer, &lRCControlSrv) + reflection.Register(lgRPCServer) //Register to health service grpc_health_v1.RegisterHealthServer(lgRPCServer, health.NewServer())