-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Fix panic in newrelicexporter if service name is empty #969
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
Conversation
Resolves #964 Validate the Node and ServiceInfo are not nil pointers before dereferencing them. Additionally, add tests to prevent regression of this bug.
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.
👍 🎉 ☕ 🍰
Test failure looks to be from the |
Codecov Report
@@ Coverage Diff @@
## master #969 +/- ##
==========================================
- Coverage 88.47% 88.46% -0.01%
==========================================
Files 245 245
Lines 13089 13096 +7
==========================================
+ Hits 11581 11586 +5
- Misses 1148 1150 +2
Partials 360 360
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Resolves #964
Validate the Node and ServiceInfo are not nil pointers before dereferencing them. Additionally, add tests to prevent regression of this bug.