From 6d7c63a1159a5ec6fd0623de301af499d65577d2 Mon Sep 17 00:00:00 2001 From: gaopeiliang Date: Tue, 17 Mar 2026 20:48:30 +0800 Subject: [PATCH] Do your best to clean up the upgrade state; otherwise, it may affect the next upgrade. --- .../batchrelease/control/partitionstyle/deployment/control.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/batchrelease/control/partitionstyle/deployment/control.go b/pkg/controller/batchrelease/control/partitionstyle/deployment/control.go index 9f3ba508..46eacf11 100644 --- a/pkg/controller/batchrelease/control/partitionstyle/deployment/control.go +++ b/pkg/controller/batchrelease/control/partitionstyle/deployment/control.go @@ -136,7 +136,7 @@ func (rc *realController) Finalize(release *v1beta1.BatchRelease) error { if rc.object == nil { return nil // No need to finalize again. } - isUnderRolloutControl := rc.object.Annotations[util.BatchReleaseControlAnnotation] != "" && rc.object.Spec.Paused + isUnderRolloutControl := rc.object.Annotations[util.BatchReleaseControlAnnotation] != "" if !isUnderRolloutControl { return nil // No need to finalize again. }