fix: regression bugs (#6433)

fix: extension delete logic

Signed-off-by: peng wu <2030047311@qq.com>
Co-authored-by: peng wu <2030047311@qq.com>
This commit is contained in:
KubeSphere CI Bot
2025-03-14 14:25:51 +08:00
committed by GitHub
parent 9d88c8d3a7
commit 58b811ee92

View File

@@ -99,7 +99,7 @@ func (r *ExtensionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (
return ctrl.Result{}, client.IgnoreNotFound(err)
}
if extension.ObjectMeta.DeletionTimestamp.IsZero() {
if !extension.ObjectMeta.DeletionTimestamp.IsZero() {
return r.reconcileDelete(ctx, extension)
}