X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fhandlers%2Frmrmsghandlers%2Fe2_setup_request_notification_handler.go;h=7cd5458b6f7790e37170d6f17f527d6a68b5a814;hb=4449bba79c42804a0f9334047c08bd2619e777cd;hp=9ea0ef5929fe1205b3a6afd78cefa5211f40d044;hpb=0823945d1b5a326844833187a36bea669752be93;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/handlers/rmrmsghandlers/e2_setup_request_notification_handler.go b/E2Manager/handlers/rmrmsghandlers/e2_setup_request_notification_handler.go index 9ea0ef5..7cd5458 100644 --- a/E2Manager/handlers/rmrmsghandlers/e2_setup_request_notification_handler.go +++ b/E2Manager/handlers/rmrmsghandlers/e2_setup_request_notification_handler.go @@ -140,7 +140,10 @@ func (h E2SetupRequestNotificationHandler) setGnbFunctions(nodebInfo *entities.N return err } - nodebInfo.GetGnb().RanFunctions = ranFunctions + if ranFunctions != nil { + nodebInfo.GetGnb().RanFunctions = ranFunctions + } + return nil }