-
Notifications
You must be signed in to change notification settings - Fork 873
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: resolve args to metric in garbage collection function #2843
Conversation
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
6620c1b
to
1514a95
Compare
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
1514a95
to
879462a
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2843 +/- ##
==========================================
- Coverage 81.67% 81.66% -0.02%
==========================================
Files 133 133
Lines 20188 20192 +4
==========================================
+ Hits 16489 16490 +1
- Misses 2847 2849 +2
- Partials 852 853 +1
☔ View full report in Codecov by Sentry. |
…esolveargs-for-gc
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
* resolve args to metric in garbage collection function Signed-off-by: zachaller <zachaller@users.noreply.github.com> * remove incorrectly added test, this moved to a function Signed-off-by: zachaller <zachaller@users.noreply.github.com> * re-trigger Signed-off-by: zachaller <zachaller@users.noreply.github.com> * add context to errors Signed-off-by: zachaller <zachaller@users.noreply.github.com> * better error message Signed-off-by: zachaller <zachaller@users.noreply.github.com> * better error message Signed-off-by: zachaller <zachaller@users.noreply.github.com> --------- Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Make sure we resolve args before creating the provider for garbage collection, this lets providers such as prometheus check that the url is valid if it contains any args.
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.