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 Consul Loader panic from #272 #296

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

lucabrasi83
Copy link
Contributor

As discussed in #272 this PR is regarding a fix to avoid returning nil when no matching service(s) are found in the Consul loader.

The continue statement is also effective when the configured service is not found in Consul.

Copy link
Collaborator

@karimra karimra left a comment

Choose a reason for hiding this comment

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

Thanks for catching this. Looks like I broke it in the last release.

@karimra karimra merged commit d461fa9 into openconfig:main Nov 14, 2023
2 checks passed
fahadnaeemkhan pushed a commit to fahadnaeemkhan/gnmic that referenced this pull request Dec 1, 2023
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.

2 participants