Loading go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_update.go +2 −2 Original line number Diff line number Diff line Loading @@ -9,6 +9,6 @@ */ package server type ServiceLivenessUpdate struct { State *ServiceState `json:"state"` type ServiceLivenessUpdate struct { // FSCOM Chang manuall (remove *) State ServiceState `json:"state"` } go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go +3 −1 Original line number Diff line number Diff line Loading @@ -955,7 +955,9 @@ func patchIndividualMECService(w http.ResponseWriter, r *http.Request) { errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } if *serviceLivenessUpdate.State == ACTIVE_ServiceState { log.Info("patchIndividualMECService: serviceLivenessUpdate: ", serviceLivenessUpdate) log.Info("patchIndividualMECService: serviceLivenessUpdate: ", serviceLivenessUpdate.State) if serviceLivenessUpdate.State == ACTIVE_ServiceState { entry.State = &ACTIVE_ServiceState } else { // ETSI GS MEC 011 V3.2.1 (2024-04) Table 8.1.2.5-1: Attributes of ServiceLivenessUpdate err := errors.New("Wrong body content") Loading Loading
go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_update.go +2 −2 Original line number Diff line number Diff line Loading @@ -9,6 +9,6 @@ */ package server type ServiceLivenessUpdate struct { State *ServiceState `json:"state"` type ServiceLivenessUpdate struct { // FSCOM Chang manuall (remove *) State ServiceState `json:"state"` }
go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go +3 −1 Original line number Diff line number Diff line Loading @@ -955,7 +955,9 @@ func patchIndividualMECService(w http.ResponseWriter, r *http.Request) { errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } if *serviceLivenessUpdate.State == ACTIVE_ServiceState { log.Info("patchIndividualMECService: serviceLivenessUpdate: ", serviceLivenessUpdate) log.Info("patchIndividualMECService: serviceLivenessUpdate: ", serviceLivenessUpdate.State) if serviceLivenessUpdate.State == ACTIVE_ServiceState { entry.State = &ACTIVE_ServiceState } else { // ETSI GS MEC 011 V3.2.1 (2024-04) Table 8.1.2.5-1: Attributes of ServiceLivenessUpdate err := errors.New("Wrong body content") Loading