Datacenter Update to Ws
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"oc-datacenter/infrastructure"
|
||||
"oc-datacenter/infrastructure/admiralty"
|
||||
"oc-datacenter/infrastructure/kubernetes"
|
||||
"oc-datacenter/infrastructure/kubernetes/models"
|
||||
@@ -237,7 +238,7 @@ func ListenNATS() {
|
||||
if err := json.Unmarshal(resp.Payload, &evt); err != nil || evt.ExecutionsID == "" {
|
||||
return
|
||||
}
|
||||
go kubernetes.NewKubernetesService(evt.ExecutionsID).TeardownForExecution(evt.ExecutionID)
|
||||
go infrastructure.TeardownForExecution(evt.ExecutionID, evt.ExecutionsID)
|
||||
},
|
||||
|
||||
// ─── REMOVE_RESOURCE ────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user