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

change verify_ips + add inverse test in instance_metadata_test #5

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

slapers
Copy link

@slapers slapers commented Dec 2, 2024

Found some time to investigate and I think verify_ips was trying to match on [:accept] instead of [{:ok, address}].
I assume the addresses could be different, so decided to reduce over them and bail out once one of them is rejected.
The added unit test fails without these changes. This fixes #4 for me

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.

ipv4/6 accept does not seem to apply with the uri resolve fallback..
1 participant