Fix FindLoadBalancerByDNSName to be case-insensitive#4657
Fix FindLoadBalancerByDNSName to be case-insensitive#4657k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
Conversation
|
Hi @kellyyan. 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 Tip We noticed you've done this a few times! Consider joining the org to skip this step and gain Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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-sigs/prow repository. |
|
/ok-to-test |
|
/approved |
|
/approved |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kellyyan, shuqz The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
Currently,
FindLoadBalancerByDNSNamefails if the load balancer name has capital letters since the ingressdnsNamewill always be lowercase. DNS names are case-insensitive so we should update this function to perform a case-insensitive check.This PR replaces
==check withstrings.EqualFold.Checklist
README.md, or thedocsdirectory)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯