Skip to content

fix(flagd): Fixed possible nil pointer exception with svcMetadata in service.go #634

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

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

cupofcat
Copy link
Contributor

This PR

  • fixes potential nil pointer exception when using WithProviderID without WithSelectorID
  • adds tests to catch that in the future

…service.go

Change-Id: Ib5478f47bac8d1087b9fe90915c9200e5633cbfe
Signed-off-by: Maks Osowski <[email protected]>
@beeme1mr beeme1mr merged commit 50256e9 into open-feature:main Feb 21, 2025
5 checks passed
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.

5 participants