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

fix: Handle minor version with '+' when determining ingress mode (#1529) #1612

Merged
merged 2 commits into from
Oct 28, 2021

Conversation

kiranmeduri
Copy link
Contributor

Background:
I am noticing errors when running in my cluster with following server version.

Server Version: version.Info{Major:"1", Minor:"21+",...

Signed-off-by: Kiran Meduri [email protected]

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
  • The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
  • I've signed my commits with DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My builds are green. Try syncing with master if they are not.
  • My organization is added to USERS.md.

utils/ingress/ingress.go Outdated Show resolved Hide resolved
Signed-off-by: Kiran Meduri <[email protected]>
@sonarcloud
Copy link

sonarcloud bot commented Oct 27, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
8.3% 8.3% Duplication

@kiranmeduri kiranmeduri requested a review from huikang October 27, 2021 17:38
Copy link
Member

@huikang huikang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Thanks

@codecov
Copy link

codecov bot commented Oct 28, 2021

Codecov Report

Merging #1612 (650dd49) into master (ac155f1) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1612   +/-   ##
=======================================
  Coverage   81.76%   81.76%           
=======================================
  Files         113      113           
  Lines       15563    15567    +4     
=======================================
+ Hits        12725    12729    +4     
  Misses       2176     2176           
  Partials      662      662           
Impacted Files Coverage Δ
utils/ingress/ingress.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ac155f1...650dd49. Read the comment docs.

@jessesuen jessesuen merged commit fe2c68b into argoproj:master Oct 28, 2021
@kiranmeduri kiranmeduri deleted the fixIngress branch October 28, 2021 16:59
agrawroh pushed a commit to agrawroh/argo-rollouts that referenced this pull request Oct 28, 2021
agrawroh pushed a commit to agrawroh/argo-rollouts that referenced this pull request Oct 28, 2021
noam-codefresh pushed a commit to codefresh-io/argo-rollouts that referenced this pull request Feb 9, 2022
danielm-codefresh pushed a commit to codefresh-io/argo-rollouts that referenced this pull request Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants