refactor: checkpoint layer2 api console changes
This commit is contained in:
@@ -632,11 +632,7 @@ func (s *Server) handleDeleteFunction(w http.ResponseWriter, r *http.Request, na
|
||||
fission.CleanupEnvironmentIfUnused(cleanupCtx, s.dyn, ns, envName)
|
||||
}
|
||||
|
||||
// Сигналим reconciler: батчит изменения без race condition и rolling restarts
|
||||
select {
|
||||
case s.nsManager.NSReconcileCh <- struct{}{}:
|
||||
default:
|
||||
}
|
||||
// (reconciler NS удалён — за FISSION_RESOURCE_NAMESPACES теперь отвечает Layer 1 NSWatcher)
|
||||
|
||||
writeAnyJSON(w, http.StatusOK, map[string]any{"deleted": true, "name": name, "package": pkgName})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user