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
Upgrade RMR version to 4.4.4
[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
8b6b80c
..
551006e
100644
(file)
--- a/
E2Manager/handlers/httpmsghandlers/update_nodeb_request_handler.go
+++ b/
E2Manager/handlers/httpmsghandlers/update_nodeb_request_handler.go
@@
-65,6
+65,11
@@
func (h *UpdateNodebRequestHandler) Handle(request models.Request) (models.IResp
return nil, e2managererrors.NewResourceNotFoundError()
}
return nil, e2managererrors.NewResourceNotFoundError()
}
+ err = h.updateNodebManager.ValidateNodeb(nodebInfo)
+ if err != nil {
+ return nil, e2managererrors.NewRequestValidationError()
+ }
+
err = h.updateNodebManager.RemoveNodebCells(nodebInfo)
if err != nil {
return nil, err
err = h.updateNodebManager.RemoveNodebCells(nodebInfo)
if err != nil {
return nil, err