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-431] REDESIGN - Add RanListManager methods | Add/Update RnibWriter methods
[ric-plt/e2mgr.git]
/
E2Manager
/
handlers
/
httpmsghandlers
/
update_gnb_request_handler.go
diff --git
a/E2Manager/handlers/httpmsghandlers/update_gnb_request_handler.go
b/E2Manager/handlers/httpmsghandlers/update_gnb_request_handler.go
index
5d9d2b2
..
3648563
100644
(file)
--- a/
E2Manager/handlers/httpmsghandlers/update_gnb_request_handler.go
+++ b/
E2Manager/handlers/httpmsghandlers/update_gnb_request_handler.go
@@
-161,10
+161,6
@@
func isServedNrCellInformationValid(servedNrCellInformation *entities.ServedNRCe
return errors.New("nrMode")
}
return errors.New("nrMode")
}
- if servedNrCellInformation.NrPci == 0 {
- return errors.New("nrPci")
- }
-
if len(servedNrCellInformation.ServedPlmns) == 0 {
return errors.New("servedPlmns")
}
if len(servedNrCellInformation.ServedPlmns) == 0 {
return errors.New("servedPlmns")
}
@@
-205,10
+201,6
@@
func isNrNeighbourInformationValid(nrNeighbourInformation *entities.NrNeighbourI
return errors.New("nrMode")
}
return errors.New("nrMode")
}
- if nrNeighbourInformation.NrPci == 0 {
- return errors.New("nrPci")
- }
-
return isNrNeighbourInfoChoiceNrModeValid(nrNeighbourInformation.ChoiceNrMode)
}
return isNrNeighbourInfoChoiceNrModeValid(nrNeighbourInformation.ChoiceNrMode)
}