Skip to content
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

Use better URL comparison for Kube config #209

Merged
merged 2 commits into from
Sep 19, 2019

Conversation

nwmac
Copy link
Member

@nwmac nwmac commented Sep 17, 2019

When comparing URLs to match a K8S endpoint with the Kube Config, we now use a better comparison that doesn't just compare strings - which fixes issues when the mismatch is only in the port number due to default port.

@nwmac nwmac self-assigned this Sep 17, 2019
@nwmac nwmac added the ready for review Ready for review label Sep 17, 2019
@nwmac nwmac changed the title Use better URL comparison Use better URL comparison for Kube config Sep 17, 2019
@codecov-io
Copy link

codecov-io commented Sep 17, 2019

Codecov Report

Merging #209 into v2-master will decrease coverage by <.01%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           v2-master     #209      +/-   ##
=============================================
- Coverage      53.18%   53.18%   -0.01%     
=============================================
  Files            918      918              
  Lines          25290    25290              
  Branches        4336     4336              
=============================================
- Hits           13451    13450       -1     
- Misses         11839    11840       +1

@richard-cox richard-cox merged commit a04ddc4 into v2-master Sep 19, 2019
@richard-cox richard-cox deleted the better-kube-url-compare branch September 19, 2019 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants