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

internal/dag: Fix processing of httproutes validation #3598

Merged
merged 1 commit into from
Apr 20, 2021

Conversation

stevesloka
Copy link
Member

When processing through HTTPRoutes to validate if they match the configured Gateway,
any additional HTTPRoutes would not get processed after the first one. This was
due to an unneeded "break" in the code stopping execution for valid routes.

Fixes #3591

Signed-off-by: Steve Sloka slokas@vmware.com

When processing through HTTPRoutes to validate if they match the configured Gateway,
any additional HTTPRoutes would not get processed after the first one. This was
due to an unneeded "break" in the code stopping execution for valid routes.

Fixes projectcontour#3591

Signed-off-by: Steve Sloka <slokas@vmware.com>
@stevesloka stevesloka added this to the 1.15.0 milestone Apr 20, 2021
@stevesloka stevesloka requested a review from a team as a code owner April 20, 2021 16:24
@stevesloka stevesloka requested review from danehans and sunjayBhatia and removed request for a team April 20, 2021 16:24
@codecov
Copy link

codecov bot commented Apr 20, 2021

Codecov Report

Merging #3598 (e283b0c) into main (383f6e2) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3598      +/-   ##
==========================================
- Coverage   76.61%   76.61%   -0.01%     
==========================================
  Files         100      100              
  Lines        7027     7026       -1     
==========================================
- Hits         5384     5383       -1     
  Misses       1527     1527              
  Partials      116      116              
Impacted Files Coverage Δ
internal/dag/gatewayapi_processor.go 94.21% <ø> (-0.04%) ⬇️

Copy link
Member

@skriss skriss left a comment

Choose a reason for hiding this comment

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

LGTM, good find

@stevesloka stevesloka merged commit bc94389 into projectcontour:main Apr 20, 2021
@stevesloka stevesloka deleted the issue/3591 branch April 20, 2021 17:05
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.

Deploying two HTTPRoutes gets 404 from one of them
3 participants