Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#4 from vivek-koppuru/fix-crs
Browse files Browse the repository at this point in the history
Bug fix for clusterresourceset apply
  • Loading branch information
abhay-krishna authored Dec 8, 2022
2 parents 5a7d277 + 40299e9 commit 852c63e
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(currentObj.DeepCopy())
patch := client.MergeFrom(obj.DeepCopy())
if err = c.Patch(ctx, obj, patch); err != nil {
return errors.Wrapf(
err,
Expand Down

0 comments on commit 852c63e

Please sign in to comment.