-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Revert "Revert "Fix: Force usage of case-sensitive keys in configurations (#6876)" (#6988)" #7021
Revert "Revert "Fix: Force usage of case-sensitive keys in configurations (#6876)" (#6988)" #7021
Conversation
…ions (open-telemetry#6876)" (open-telemetry#6988)" This reverts commit 80cabdd. Closes open-telemetry#7002
Codecov ReportBase: 90.36% // Head: 89.88% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #7021 +/- ##
==========================================
- Coverage 90.36% 89.88% -0.48%
==========================================
Files 243 245 +2
Lines 14598 14724 +126
==========================================
+ Hits 13191 13235 +44
- Misses 1138 1219 +81
- Partials 269 270 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Some things that I have in mind and will like answers/someone to think about:
|
@rapphil I think you may want to jump in here considering you have opened to original PR. |
@bogdandrutu So answering your questions:
We don't need to fix anything as this check function is enforcing case-sensitive tags in the config structs, so it aligns with the validation that will happen in mapstructrure when the configuration is Unmarshalled into a struct.
This will only happen if a config is not validated using the |
@gbbr you need to also remove the wrong comment from |
Thanks for flagging that Bogdan, done. |
This reverts commit 80cabdd.
Closes #7002