-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[tweak] - Switch linode labels to LinodeMachine Name instead of UID #143
Conversation
@@ -41,7 +41,7 @@ func (r *LinodeVPCReconciler) reconcileVPC(ctx context.Context, vpcScope *scope. | |||
} | |||
|
|||
if createConfig.Label == "" { | |||
createConfig.Label = util.RenderObjectLabel(vpcScope.LinodeVPC.UID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are there other usages of renderObjectLabel? or can this function be deleted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, my IDE shows no other usages so we should be safe to remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deleted the function. It doesn't affect anything else
Aside from cleaning up the |
…-{UID} (#143) Co-authored-by: Khaja Omer <[email protected]>
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This PR switched to using linode machine names instead of UID for less confusion
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
TODOs: