-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Tweaked order of ingress IPs in ServiceLB #8711
Tweaked order of ingress IPs in ServiceLB #8711
Conversation
Previously, ingress IPs were only string-sorted when returned Sorted by IP family and string-sorted in each family as part of filterByIPFamily method Signed-off-by: Jason Costello <jason@jsnc.tl>
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.
thanks! one nit but lgtm otherwise.
Co-authored-by: Brad Davidson <brad@oatmail.org> Signed-off-by: Jason Costello <jason@hazy.com>
CI is failing but see that in other PRs so guess this is a known issue? Holding off merge until code freeze is up too? |
No, it looks like your formatting is off. Editors will usually handle this for you, if yours does not you may need to use the gofmt CLI tool to fix it.
|
Signed-off-by: Jason Costello <jason@jsnc.tl>
01a08ea
to
fccc6f3
Compare
Anything further to pick up on this PR with the formatting fixed @brandond? |
no, we're just waiting on release activity before merging any PRs. Thanks for your patience! |
s390x is flaking; merging |
* Tweaked order of ingress IPs in ServiceLB Previously, ingress IPs were only string-sorted when returned Sorted by IP family and string-sorted in each family as part of filterByIPFamily method * Update pkg/cloudprovider/servicelb.go * Formatting Signed-off-by: Jason Costello <jason@hazy.com> Co-authored-by: Brad Davidson <brad@oatmail.org> (cherry picked from commit 07ee854) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
* Tweaked order of ingress IPs in ServiceLB Previously, ingress IPs were only string-sorted when returned Sorted by IP family and string-sorted in each family as part of filterByIPFamily method * Update pkg/cloudprovider/servicelb.go * Formatting Signed-off-by: Jason Costello <jason@hazy.com> Co-authored-by: Brad Davidson <brad@oatmail.org> (cherry picked from commit 07ee854) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
* Tweaked order of ingress IPs in ServiceLB Previously, ingress IPs were only string-sorted when returned Sorted by IP family and string-sorted in each family as part of filterByIPFamily method * Update pkg/cloudprovider/servicelb.go * Formatting Signed-off-by: Jason Costello <jason@hazy.com> Co-authored-by: Brad Davidson <brad@oatmail.org> (cherry picked from commit 07ee854) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
* Tweaked order of ingress IPs in ServiceLB Previously, ingress IPs were only string-sorted when returned Sorted by IP family and string-sorted in each family as part of filterByIPFamily method * Update pkg/cloudprovider/servicelb.go * Formatting Signed-off-by: Jason Costello <jason@hazy.com> Co-authored-by: Brad Davidson <brad@oatmail.org> (cherry picked from commit 07ee854) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
* Tweaked order of ingress IPs in ServiceLB Previously, ingress IPs were only string-sorted when returned Sorted by IP family and string-sorted in each family as part of filterByIPFamily method * Update pkg/cloudprovider/servicelb.go * Formatting Signed-off-by: Jason Costello <jason@hazy.com> Co-authored-by: Brad Davidson <brad@oatmail.org> (cherry picked from commit 07ee854) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
* Tweaked order of ingress IPs in ServiceLB Previously, ingress IPs were only string-sorted when returned Sorted by IP family and string-sorted in each family as part of filterByIPFamily method * Update pkg/cloudprovider/servicelb.go * Formatting Signed-off-by: Jason Costello <jason@hazy.com> Co-authored-by: Brad Davidson <brad@oatmail.org> (cherry picked from commit 07ee854) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Previously, ingress IPs were only string-sorted when returned
Sorted by IP family and string-sorted in each family as part of filterByIPFamily method
Proposed Changes
Addresses #8704 with adjustment and use of
filterByIPFamily
as part ofservicelb.getStatus
Types of Changes
Bugfix
Verification
Added new unit test to
servicelb_test.go
Testing
See above
Linked Issues
User-Facing Change
Further Comments
Hopefully my first PR of many. Great project