Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Dec 12, 2023
1 parent e63ff45 commit 8e8d31c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reconcilers/base_reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8e8d31c

Please sign in to comment.