X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fhandlers%2Fhttpmsghandlers%2Fupdate_gnb_request_handler.go;h=364856331597a8f2ca55dfa6b48f8791c14dbd8e;hb=13fff61e6062b16507c6419d3db7a293c50f6225;hp=5d9d2b27c65bbc41fc9e03b42e2a32bdc9bc0087;hpb=d916e2aef4c415d9865643fafa8c181a9fdfd65b;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/handlers/httpmsghandlers/update_gnb_request_handler.go b/E2Manager/handlers/httpmsghandlers/update_gnb_request_handler.go index 5d9d2b2..3648563 100644 --- 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") } - if servedNrCellInformation.NrPci == 0 { - return errors.New("nrPci") - } - if len(servedNrCellInformation.ServedPlmns) == 0 { return errors.New("servedPlmns") } @@ -205,10 +201,6 @@ func isNrNeighbourInformationValid(nrNeighbourInformation *entities.NrNeighbourI return errors.New("nrMode") } - if nrNeighbourInformation.NrPci == 0 { - return errors.New("nrPci") - } - return isNrNeighbourInfoChoiceNrModeValid(nrNeighbourInformation.ChoiceNrMode) }