-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[chore] update to mapstructure 2.0.0 #10610
Conversation
0c2e3da
to
301dfba
Compare
**Description:** <Describe what has changed.> Relax checks on confmap validation messages to avoid running into conflicts with mapstructure upgrades See open-telemetry/opentelemetry-collector#10610 - tests don't pass with this upgrade of the mapstructure lib.
f74fd35
to
30d81d3
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10610 +/- ##
=======================================
Coverage 92.30% 92.30%
=======================================
Files 397 397
Lines 18705 18705
=======================================
Hits 17265 17265
Misses 1080 1080
Partials 360 360 ☔ View full report in Codecov by Sentry. |
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.
Do we need to change
opentelemetry-collector/confmap/confmap.go
Line 181 in 43ed618
if strings.HasPrefix(err.Error(), "error decoding ''") { |
TestEmbeddedUnmarshalerError tests this and passes. We don't need to update this code. |
Description
Reprises #10300
Testing
Fixed a few tests that no longer make sense. One test will conflict if #10609 is merged first.