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 query ingress when using streaming strategy #2120

Merged
merged 5 commits into from
Nov 22, 2022

Conversation

kevinearls
Copy link
Contributor

Signed-off-by: Kevin Earls kearls@redhat.com

This resolves #2088 If a base path is set in the CR and the streaming strategy is being used, we were not creating the ingress correctly.

Signed-off-by: Kevin Earls <kearls@redhat.com>
frzifus
frzifus previously approved these changes Nov 16, 2022
Copy link
Member

@frzifus frzifus left a comment

Choose a reason for hiding this comment

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

uff, would it make sense to persist that with a unittest?

@codecov
Copy link

codecov bot commented Nov 16, 2022

Codecov Report

Base: 87.32% // Head: 87.33% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (9350f59) compared to base (f3eb628).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2120   +/-   ##
=======================================
  Coverage   87.32%   87.33%           
=======================================
  Files         100      100           
  Lines        6865     6867    +2     
=======================================
+ Hits         5995     5997    +2     
  Misses        667      667           
  Partials      203      203           
Impacted Files Coverage Δ
pkg/ingress/query.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kevinearls
Copy link
Contributor Author

@frzifus Yea, let me take a look. I don't think there was a test for the current code so I may have to start from scratch.

Signed-off-by: Kevin Earls <kearls@redhat.com>
Signed-off-by: Kevin Earls <kearls@redhat.com>
frzifus
frzifus previously approved these changes Nov 16, 2022
Copy link
Member

@frzifus frzifus left a comment

Choose a reason for hiding this comment

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

lgtm :)

@frzifus frzifus enabled auto-merge (squash) November 16, 2022 17:26
Signed-off-by: Kevin Earls <kearls@redhat.com>
@frzifus frzifus merged commit 2d28047 into jaegertracing:main Nov 22, 2022
@kevinearls kevinearls deleted the add-ingress-for-streaming branch November 22, 2022 21:37
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.

[Bug]: Query Ingress not properly created with streaming strategy
2 participants