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

Deprecate Config.Validate() in favor of component.ValidateConfig #6572

Merged
merged 2 commits into from
Nov 17, 2022

Conversation

bogdandrutu
Copy link
Member

This PR is "split" from #6544, to avoid breaking changes and go via deprecation.

It is a bit hacky, but better than breaking everyone who uses this interface.

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

This PR is "split" from open-telemetry#6544, to avoid breaking changes and go via deprecation.

It is a bit hacky, but better than breaking everyone who uses this interface.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
@codecov
Copy link

codecov bot commented Nov 17, 2022

Codecov Report

Base: 90.99% // Head: 90.95% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (9808376) compared to base (543950a).
Patch coverage: 40.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6572      +/-   ##
==========================================
- Coverage   90.99%   90.95%   -0.04%     
==========================================
  Files         241      241              
  Lines       14014    14025      +11     
==========================================
+ Hits        12752    12757       +5     
- Misses       1013     1019       +6     
  Partials      249      249              
Impacted Files Coverage Δ
component/config.go 0.00% <0.00%> (ø)
component/exporter.go 96.07% <ø> (ø)
component/extension.go 86.66% <ø> (ø)
component/processor.go 96.07% <ø> (ø)
component/receiver.go 96.07% <ø> (ø)
config/exporter.go 100.00% <ø> (ø)
config/extension.go 75.00% <ø> (ø)
config/processor.go 100.00% <ø> (ø)
config/receiver.go 100.00% <ø> (ø)
service/config.go 100.00% <100.00%> (ø)
... and 1 more

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

config/receiver.go Outdated Show resolved Hide resolved
Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
@bogdandrutu bogdandrutu merged commit 86d886c into open-telemetry:main Nov 17, 2022
@bogdandrutu bogdandrutu deleted the deprecatevalidate branch November 17, 2022 21:50
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.

3 participants