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

[chore] remove TODO from confmap code #10278

Merged
merged 1 commit into from
May 31, 2024

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented May 31, 2024

Remove a TODO comment on confmap/provider.go related to ChangeEvent. This struct is used extensively in providers that rely on changes such as:
https://github.com/signalfx/splunk-otel-collector/blob/main/internal/configsource/etcd2configsource/source.go#L84

@atoulme atoulme requested review from a team and songy23 May 31, 2024 07:15
Copy link

codecov bot commented May 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.49%. Comparing base (4bbb604) to head (aa196f9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10278   +/-   ##
=======================================
  Coverage   92.49%   92.49%           
=======================================
  Files         387      387           
  Lines       18259    18259           
=======================================
  Hits        16888    16888           
  Misses       1025     1025           
  Partials      346      346           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TylerHelmuth
Copy link
Member

Copy link
Member

@TylerHelmuth TylerHelmuth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that this pattern has been serving its purpose for years now. Even if there are improvements (which have not been identified in years of use), I think they are 2.0 concerns not 1.0 concerns

@atoulme
Copy link
Contributor Author

atoulme commented May 31, 2024

I cannot discern if there is a concern or a follow up, but if there is, it might be best documented in an issue. In the mean time, I think this TODO should not be in the code.

@codeboten codeboten merged commit d55d042 into open-telemetry:main May 31, 2024
49 checks passed
@github-actions github-actions bot added this to the next release milestone May 31, 2024
steves-canva pushed a commit to Canva/opentelemetry-collector that referenced this pull request Jun 14, 2024
Remove a TODO comment on confmap/provider.go related to ChangeEvent.
This struct is used extensively in providers that rely on changes such
as:

https://github.com/signalfx/splunk-otel-collector/blob/main/internal/configsource/etcd2configsource/source.go#L84
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.

4 participants