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-432 - Support Update eNB REST API
[ric-plt/e2mgr.git]
/
E2Manager
/
handlers
/
httpmsghandlers
/
update_nodeb_request_handler.go
diff --git
a/E2Manager/handlers/httpmsghandlers/update_nodeb_request_handler.go
b/E2Manager/handlers/httpmsghandlers/update_nodeb_request_handler.go
index
6afe87a
..
dae272a
100644
(file)
--- a/
E2Manager/handlers/httpmsghandlers/update_nodeb_request_handler.go
+++ b/
E2Manager/handlers/httpmsghandlers/update_nodeb_request_handler.go
@@
-44,7
+44,10
@@
func NewUpdateNodebRequestHandler(logger *logger.Logger, rNibDataService service
func (h *UpdateNodebRequestHandler) Handle(request models.Request) (models.IResponse, error) {
func (h *UpdateNodebRequestHandler) Handle(request models.Request) (models.IResponse, error) {
- updateNodebRequest := request.(*models.UpdateNodebRequest)
+ updateNodebRequest, ok := request.(*models.UpdateEnbRequest)
+ if ok != true {
+ //TODO updateNodebRequest := request.(*models.UpdateGnbRequest)
+ }
h.logger.Infof("#UpdateNodebRequestHandler.Handle - Ran name: %s", updateNodebRequest.RanName)
h.logger.Infof("#UpdateNodebRequestHandler.Handle - Ran name: %s", updateNodebRequest.RanName)