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

BCF-2368: ensure unique name per LOOPP #9762

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

krehermann
Copy link
Contributor

End to end work uncovered a problem where a plugin would not start because the prom server couldn't get a port. Ultimately this was caused by duplicate names in the LoopRegistry.

This change makes names unique and, to ensure better error handling, it changes the Register function to error if called more than once. The latter change will make the problem much more clear should it ever happen again.

End to end work uncovered a problem where a plugin would not start
because the prom server couldn't get a port. Ultimately this was caused
by duplicate names in the LoopRegistry.

This change makes names unique and, to ensure better error handling, it
changes the Register function to error if called more than once. The latter
change will make the problem much more clear should it ever happen again.
@github-actions
Copy link
Contributor

I see that you haven't updated any README files. Would it make sense to do so?

@cl-sonarqube-production
Copy link

SonarQube Quality Gate

Quality Gate failed

Failed condition 71.4% 71.4% Coverage on New Code (is less than 80%)

See analysis details on SonarQube

@krehermann krehermann added this pull request to the merge queue Jul 11, 2023
Merged via the queue into develop with commit 78a1697 Jul 11, 2023
94 checks passed
@krehermann krehermann deleted the BCF-2368-plugin-prometheus-server branch July 11, 2023 16:30
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