From 8e8d31cd6380c12ab47373f1e8fe3dffa7fc6df4 Mon Sep 17 00:00:00 2001 From: Eguzki Astiz Lezaun Date: Tue, 5 Dec 2023 15:42:20 +0100 Subject: [PATCH] fix lint issues --- pkg/reconcilers/base_reconciler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/reconcilers/base_reconciler.go b/pkg/reconcilers/base_reconciler.go index a537915a1..33223ad7c 100644 --- a/pkg/reconcilers/base_reconciler.go +++ b/pkg/reconcilers/base_reconciler.go @@ -168,7 +168,7 @@ func (b *BaseReconciler) ReconcileResource(ctx context.Context, obj, desired cli return b.DeleteResource(ctx, desired, reconcileOpts.DeleteOptions...) } - var desiredMutated client.Object = desired + var desiredMutated = desired if ptr.Deref(reconcileOpts.DryRunFirst, false) { desiredMutated = desired.DeepCopyObject().(client.Object)