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: aws_lb_listener cache key #1599

Merged
merged 1 commit into from
Nov 18, 2022

Conversation

martin-vanta
Copy link
Contributor

Q A
πŸ› Bug fix? yes
πŸš€ New feature? no
⚠ Deprecations? no
❌ BC Break no
πŸ”— Related issues #1598
❓ Documentation no

Description

Extends the cache key for load balancer listeners to correctly include the load balancer name, so that we don't return listeners belonging to other LBs.

The tests are currently structured around testing a single method call which won't test this issue, so I extended the tests to have multiple calls. Let me know if there are existing patterns or other ways you'd prefer this done.

@martin-vanta martin-vanta requested a review from a team as a code owner November 17, 2022 17:46
@martin-vanta martin-vanta requested review from muratcelep and removed request for a team November 17, 2022 17:46
@CLAassistant
Copy link

CLAassistant commented Nov 17, 2022

CLA assistant check
All committers have signed the CLA.

@wbeuil wbeuil requested review from wbeuil and removed request for muratcelep November 18, 2022 10:02
Copy link
Contributor

@wbeuil wbeuil left a comment

Choose a reason for hiding this comment

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

LGTM, well done @martin-vanta πŸ”₯

@wbeuil wbeuil merged commit 2977d63 into snyk:main Nov 18, 2022
@wbeuil
Copy link
Contributor

wbeuil commented Nov 18, 2022

@all-contributors please add @martin-vanta for bug

@allcontributors
Copy link
Contributor

@wbeuil

I've put up a pull request to add @martin-vanta! πŸŽ‰

@martin-vanta martin-vanta deleted the ml/aws-lb-listener-cache branch November 18, 2022 19:17
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