X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Frpe%2Frpe.go;h=4097ae0dc803ba17b987aa0f367857e9b7a40d64;hb=2037469c7f636b15cc069694b5e7a63cb230ec9a;hp=39c2bb12df602e93a1232051b3e061c120dce435;hpb=bce67475ab8f92b42841dba561fff27b7d239820;p=ric-plt%2Frtmgr.git diff --git a/pkg/rpe/rpe.go b/pkg/rpe/rpe.go index 39c2bb1..4097ae0 100644 --- a/pkg/rpe/rpe.go +++ b/pkg/rpe/rpe.go @@ -244,6 +244,10 @@ func (r *Rpe) generatePlatformRoutes(e2TermEp []rtmgr.Endpoint, subManEp *rtmgr. xapp.Logger.Debug("rpe.generatePlatformRoutes invoked") //Platform Routes --- Subscription Routes //Subscription Manager -> E2 Termination + if rtmgr.PrsCfg == nil { + xapp.Logger.Info("No static routes configuration") + return + } for _, routes := range *rtmgr.PrsCfg { var sendEp *rtmgr.Endpoint var Ep *rtmgr.Endpoint