diff --git a/rollout/service.go b/rollout/service.go index 0ed9ffbb4b..08e3e34a4c 100644 --- a/rollout/service.go +++ b/rollout/service.go @@ -258,14 +258,6 @@ func (c *rolloutContext) reconcileStableAndCanaryService() error { return err } - if c.pauseContext != nil && c.pauseContext.IsAborted() && c.rollout.Spec.Strategy.Canary.TrafficRouting == nil { - err = c.ensureSVCTargets(c.rollout.Spec.Strategy.Canary.CanaryService, c.stableRS, true) - if err != nil { - return err - } - return nil - } - if dynamicallyRollingBackToStable, currSelector := isDynamicallyRollingBackToStable(c.rollout, c.newRS); dynamicallyRollingBackToStable { // User may have interrupted an update in order go back to stableRS, and is using dynamic // stable scaling. If that is the case, the stableRS might be undersized and if we blindly