[RIC-431] Add UTs | Update AddEnbRequest | Update Swagger
[ric-plt/e2mgr.git] / E2Manager / handlers / httpmsghandlers / update_gnb_request_handler.go
index 5d9d2b2..3648563 100644 (file)
@@ -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)
 }