From 259559e9aa4372abd61052fd98e9a58c53ac10f7 Mon Sep 17 00:00:00 2001 From: miguelvalerio Date: Wed, 5 Jul 2023 19:23:56 +0100 Subject: [PATCH] fix comments Signed-off-by: miguelvalerio --- pkg/controller/scheduler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/scheduler.go b/pkg/controller/scheduler.go index e47f8266a..0edbce639 100644 --- a/pkg/controller/scheduler.go +++ b/pkg/controller/scheduler.go @@ -248,7 +248,7 @@ func (c *Controller) advanceCanary(name string, namespace string) { return } - // scale down the replicas to 0 after the service is pointing to the primary target + // scale down the canary target to 0 replicas after the service is pointing to the primary target if cd.Status.Phase == "" || cd.Status.Phase == flaggerv1.CanaryPhaseInitializing { c.logger.With("canary", fmt.Sprintf("%s.%s", cd.Name, cd.Namespace)). Infof("Scaling down %s %s.%s", cd.Spec.TargetRef.Kind, cd.Spec.TargetRef.Name, cd.Namespace)