Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
[RIC-436] Fix out of range defect for setupRequestIes
[ric-plt/e2mgr.git]
/
E2Manager
/
handlers
/
rmrmsghandlers
/
e2_setup_request_notification_handler.go
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
(file)
--- 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
}