diff --git a/pkg/canary/deployment_controller.go b/pkg/canary/deployment_controller.go index 746c951c8..a4005271b 100644 --- a/pkg/canary/deployment_controller.go +++ b/pkg/canary/deployment_controller.go @@ -44,7 +44,7 @@ func (c *DeploymentController) Initialize(cd *flaggerv1.Canary, skipLivenessChec c.logger.With("canary", fmt.Sprintf("%s.%s", cd.Name, cd.Namespace)). Infof("Scaling down Deployment %s.%s", cd.Spec.TargetRef.Name, cd.Namespace) if err := c.ScaleToZero(cd); err != nil { - return fmt.Errorf("scaling down canary daemon set %s.%s failed: %w", cd.Spec.TargetRef.Name, cd.Namespace, err) + return fmt.Errorf("scaling down canary deployment %s.%s failed: %w", cd.Spec.TargetRef.Name, cd.Namespace, err) } } diff --git a/pkg/canary/deployment_ready.go b/pkg/canary/deployment_ready.go index 86b2a776a..045961cb6 100644 --- a/pkg/canary/deployment_ready.go +++ b/pkg/canary/deployment_ready.go @@ -22,7 +22,7 @@ func (c *DeploymentController) IsPrimaryReady(cd *flaggerv1.Canary) error { _, err = c.isDeploymentReady(primary, cd.GetProgressDeadlineSeconds()) if err != nil { - return fmt.Errorf("primary daemonset %s.%s not ready: %w", primaryName, cd.Namespace, err) + return fmt.Errorf("primary deployment %s.%s not ready: %w", primaryName, cd.Namespace, err) } if primary.Spec.Replicas == int32p(0) {