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

Gateway API: fix bug with routes having multiple listener refs #4558

Merged
merged 2 commits into from Jun 6, 2022

Conversation

skriss
Copy link
Member

@skriss skriss commented Jun 6, 2022

Fixes a bug where a route with multiple parent
refs to listeners would not attach to all
listeners correctly.

Signed-off-by: Steve Kriss krisss@vmware.com

Fixes a bug where a route with multiple parent
refs to listeners would not attach to all
listeners correctly.

Signed-off-by: Steve Kriss <krisss@vmware.com>
@skriss skriss requested a review from a team as a code owner June 6, 2022 16:33
@skriss skriss requested review from tsaarni and stevesloka and removed request for a team June 6, 2022 16:33
Signed-off-by: Steve Kriss <krisss@vmware.com>
@skriss skriss added the release-note/small A small change that needs one line of explanation in the release notes. label Jun 6, 2022
@skriss skriss requested a review from sunjayBhatia June 6, 2022 16:34
@codecov
Copy link

codecov bot commented Jun 6, 2022

Codecov Report

Merging #4558 (d86fd85) into main (e2384fd) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4558   +/-   ##
=======================================
  Coverage   76.94%   76.95%           
=======================================
  Files         139      139           
  Lines       12750    12751    +1     
=======================================
+ Hits         9811     9812    +1     
  Misses       2683     2683           
  Partials      256      256           
Impacted Files Coverage Δ
internal/dag/gatewayapi_processor.go 95.77% <100.00%> (+<0.01%) ⬆️

Copy link
Member

@sunjayBhatia sunjayBhatia left a comment

Choose a reason for hiding this comment

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

makes sense! shouldnt return early and should check all parent refs

@skriss
Copy link
Member Author

skriss commented Jun 6, 2022

Gateway conformance is expected to fail, found this bug while working on #4554 to get back to green there

@skriss skriss merged commit f0b8cb9 into projectcontour:main Jun 6, 2022
@skriss skriss deleted the pr-fix-multi-listener-parentrefs branch June 6, 2022 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/small A small change that needs one line of explanation in the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants