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 11, 2023
1 parent cc951e0 commit 2c55208
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 2c55208

Please sign in to comment.