X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fhandlers%2Frmrmsghandlers%2Fe2_node_config_update_notification_handler.go;fp=E2Manager%2Fhandlers%2Frmrmsghandlers%2Fe2_node_config_update_notification_handler.go;h=bcb73661b65ac22856d9d61c02021f3e737a713a;hb=28c0585ff0a4779b938d284a9abc64fbe381bee0;hp=1d667ba21aa22ac6d35f490933e5e0aab710f3c1;hpb=0249b5fc410b6c6814906b185dfdf25b27621148;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/handlers/rmrmsghandlers/e2_node_config_update_notification_handler.go b/E2Manager/handlers/rmrmsghandlers/e2_node_config_update_notification_handler.go index 1d667ba..bcb7366 100644 --- a/E2Manager/handlers/rmrmsghandlers/e2_node_config_update_notification_handler.go +++ b/E2Manager/handlers/rmrmsghandlers/e2_node_config_update_notification_handler.go @@ -57,6 +57,11 @@ func (e *E2nodeConfigUpdateNotificationHandler) Handle(request *models.Notificat return } + if len(e2NodeConfig.E2APPDU.InitiatingMessage.Value.E2nodeConfigurationUpdate.ProtocolIEs.E2nodeConfigurationUpdateIEs) == 0 { + e.logger.Errorf("#E2nodeConfigUpdateNotificationHandler.Handle - E2nodeConfigurationUpdateIEs is empty") + return + } + e.logger.Debugf("#E2nodeConfigUpdateNotificationHandler.Handle - RIC_E2_Node_Config_Update parsed successfully %+v", e2NodeConfig) nodebInfo, err := e.rNibDataService.GetNodeb(request.RanName)