diff --git a/internal/controller/deployment_controller.go b/internal/controller/deployment_controller.go index 1766d3d4e..b83ac7192 100644 --- a/internal/controller/deployment_controller.go +++ b/internal/controller/deployment_controller.go @@ -108,7 +108,7 @@ func (r *DeploymentReconciler) setStatusFromClusterStatus(ctx context.Context, l } if err != nil { - return true, fmt.Errorf("failed to get cluster information for deployment: %s : %v", deployment.Name, err) + return true, fmt.Errorf("failed to get cluster information for deployment: %s: %w", deployment.Name, err) } requeue := true