Commit 56979ac7 authored by Kevin Di Lallo's avatar Kevin Di Lallo
Browse files

app-enablement support for all MEC Services

parent 75252c12
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -353,6 +353,9 @@ func applicationsAppInstanceIdDELETE(w http.ResponseWriter, r *http.Request) {
	vars := mux.Vars(r)
	appInstanceId := vars["appInstanceId"]

	mutex.Lock()
	defer mutex.Unlock()

	// Check if App instance exists
	fields, err := rc.GetEntry(baseKey + ":app:" + appInstanceId + ":info")
	if err != nil || len(fields) == 0 {