From 405772932ed409a58fe175466b28800a2494b94a Mon Sep 17 00:00:00 2001 From: Sebastian J Date: Tue, 23 Nov 2021 01:58:42 -0500 Subject: [PATCH] Another test round Signed-off-by: Sebastian J --- pkg/apis/rollouts/v1alpha1/openapi_generated.go | 1 - rollout/temlateref.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/apis/rollouts/v1alpha1/openapi_generated.go b/pkg/apis/rollouts/v1alpha1/openapi_generated.go index f41b0af4e8..67a31048bf 100644 --- a/pkg/apis/rollouts/v1alpha1/openapi_generated.go +++ b/pkg/apis/rollouts/v1alpha1/openapi_generated.go @@ -1,4 +1,3 @@ -//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/rollout/temlateref.go b/rollout/temlateref.go index 64055ecae0..58cdf5d778 100644 --- a/rollout/temlateref.go +++ b/rollout/temlateref.go @@ -250,7 +250,7 @@ func (r *informerBasedTemplateResolver) updateRolloutsReferenceAnnotation(obj in ro.Spec.Template.Spec.Containers = []corev1.Container{} _, err := r.argoprojclientset.ArgoprojV1alpha1().Rollouts(ro.Namespace).Update(context.TODO(), ro, v1.UpdateOptions{}) if err != nil { - log.Errorf("Cannot update the workload-ref/annotation for %s/%s: %v", ro.GetName(), ro.GetNamespace(), err) + log.Errorf("Cannot update the workload-ref/annotation for %s/%s", ro.GetName(), ro.GetNamespace()) } } }