-
Notifications
You must be signed in to change notification settings - Fork 438
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
[release-1.18] bug: Fix APIServerLB nil pointer deref #5457
[release-1.18] bug: Fix APIServerLB nil pointer deref #5457
Conversation
This commit fixes a possible nil pointer deference when returning the name of the API Server LoadBalancer. In some cases like externally managed infrastructure, there might not be an API Server LoadBalancer in the AzureCluster CR. Signed-off-by: Bryan Cox <[email protected]>
/lgtm |
LGTM label has been added. Git tree hash: d649291c02005e6d39e1befcc31a791d5570393a
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release-1.18 #5457 +/- ##
=============================================
Coverage 52.41% 52.42%
=============================================
Files 272 272
Lines 29361 29365 +4
=============================================
+ Hits 15390 15394 +4
Misses 13165 13165
Partials 806 806 ☔ View full report in Codecov by Sentry. |
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: willie-yao 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 |
This is an automated cherry-pick of #5453
/assign nawazkh