-
Notifications
You must be signed in to change notification settings - Fork 427
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
fix: format azure compute gallery image ID #2747
Conversation
Welcome @supershal! |
Hi @supershal. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
/lgtm
Thank you for finding and fixing this @supershal!
/ok-to-test |
Thanks for adding the unit test @supershal! |
/retest |
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.
Looks good, just had a nitpick about the error message string.
Co-authored-by: Matt Boersma <Matt.Boersma@microsoft.com>
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.
/lgtm
/label tide/merge-method-squash
/assign @CecileRobertMichon |
/lgtm |
@CecileRobertMichon: once the present PR merges, I will cherry-pick it on top of release-1.4 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
2 similar comments
/retest |
/retest |
/cherry-pick release-1.5 |
@CecileRobertMichon: once the present PR merges, I will cherry-pick it on top of release-1.5 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@CecileRobertMichon: new pull request created: #2793 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@CecileRobertMichon: new pull request created: #2794 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
* Add unit test to verify formatting of compute gallery image id * fix: format azure compute gallery image ID * add nil check for SharedGallery and ComputeGallery * Fix error message text to use actual field names Co-authored-by: Matt Boersma <Matt.Boersma@microsoft.com> Co-authored-by: Matt Boersma <Matt.Boersma@microsoft.com>
* Add unit test to verify formatting of compute gallery image id * fix: format azure compute gallery image ID * add nil check for SharedGallery and ComputeGallery * Fix error message text to use actual field names Co-authored-by: Matt Boersma <Matt.Boersma@microsoft.com> Co-authored-by: Matt Boersma <Matt.Boersma@microsoft.com>
What type of PR is this?
/kind bug
What this PR does / why we need it:
Invalid formatting of compute gallery image id results in Azure machine fails to reconcile when compute gallery image is used.
The
SubscriptionID
andResrouceGroup
fields are string pointers in AzureComputeGalleryImageWhen creating the compute gallery image id, they should be dereferenced to string.
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 #2746
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Added unit test to verify the bug fix.
before bugfix:
TODOs:
Release note: