Skip to content

Conversation

@rbtr
Copy link
Collaborator

@rbtr rbtr commented Feb 11, 2023

Signed-off-by: Evan Baker rbtr@users.noreply.github.com

The SetOwnerRef method was misleadingly named - it actually calls ctrlutil.SetControllerReference and patches, not ctrlutil.SetOwnerReference which also exists.

This renames the method to SetControllerRef so that it is named what it does. A deprecated stub SetOwnerRef which forwards to the new method is left for backwards compatibility.

Reason for Change:

Issue Fixed:

Requirements:

Notes:

@rbtr rbtr added cns Related to CNS. fix Fixes something. labels Feb 11, 2023
@rbtr rbtr requested a review from thatmattlong February 11, 2023 00:02
@rbtr rbtr self-assigned this Feb 11, 2023
@rbtr rbtr requested a review from pjohnst5 February 11, 2023 00:05
@rbtr rbtr enabled auto-merge (squash) February 11, 2023 00:05
@rbtr rbtr force-pushed the fix/crd-client-owner-method branch 5 times, most recently from 75e8268 to 769257d Compare February 17, 2023 20:37
pjohnst5
pjohnst5 previously approved these changes Feb 17, 2023
Copy link
Contributor

@pjohnst5 pjohnst5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thanks!

@rbtr rbtr force-pushed the fix/crd-client-owner-method branch from 769257d to 00b3ef3 Compare February 22, 2023 18:22
Copy link
Member

@timraymond timraymond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copypasta?

timraymond
timraymond previously approved these changes Feb 22, 2023
rbtr and others added 2 commits February 23, 2023 14:18
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Co-authored-by: Timothy J. Raymond <timraymond@users.noreply.github.com>
@rbtr rbtr force-pushed the fix/crd-client-owner-method branch from 2960d1b to 85f5339 Compare February 23, 2023 20:18
@rbtr rbtr merged commit 03baab4 into Azure:master Feb 23, 2023
@rbtr rbtr deleted the fix/crd-client-owner-method branch February 23, 2023 23:47
rjdenney pushed a commit that referenced this pull request Mar 13, 2023
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cns Related to CNS. fix Fixes something.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants