Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#5 from vivek-koppuru/revert-crs
Browse files Browse the repository at this point in the history
Revert "Bug fix for clusterresourceset apply"
  • Loading branch information
abhay-krishna authored Dec 8, 2022
2 parents 852c63e + 9ab9ab8 commit cd9a5cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (r *reconcileStrategyScope) apply(ctx context.Context, c client.Client, obj
)
}

patch := client.MergeFrom(obj.DeepCopy())
patch := client.MergeFrom(currentObj.DeepCopy())
if err = c.Patch(ctx, obj, patch); err != nil {
return errors.Wrapf(
err,
Expand Down

0 comments on commit cd9a5cd

Please sign in to comment.