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

Move service.mapResolver to confmap.Resolver #5444

Merged
merged 1 commit into from
Jun 2, 2022

Conversation

bogdandrutu
Copy link
Member

The reason to do this is to allow alternative implementation of the service.ConfigProvider to re-use the resolver logic,
also to create an independent "confmap.Conf" resolver for other services/binaries to use.

Signed-off-by: Bogdan Drutu [email protected]

@bogdandrutu bogdandrutu requested review from a team and tigrannajaryan May 31, 2022 21:26
@codecov
Copy link

codecov bot commented May 31, 2022

Codecov Report

Merging #5444 (2816b98) into main (3356863) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #5444      +/-   ##
==========================================
- Coverage   90.92%   90.88%   -0.04%     
==========================================
  Files         191      191              
  Lines       11424    11421       -3     
==========================================
- Hits        10387    10380       -7     
- Misses        817      820       +3     
- Partials      220      221       +1     
Impacted Files Coverage Δ
confmap/resolver.go 92.30% <100.00%> (ø)
service/config_provider.go 91.89% <100.00%> (+1.56%) ⬆️
pdata/internal/common.go 94.61% <0.00%> (-0.77%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3356863...2816b98. Read the comment docs.

@bogdandrutu bogdandrutu force-pushed the mapresolver branch 2 times, most recently from 144a8f4 to 7ff887c Compare May 31, 2022 22:01
The reason to do this is to allow alternative implementation of the service.ConfigProvider to re-use the resolver logic,
also to create an independent "confmap.Conf" resolver for other services/binaries to use.

Signed-off-by: Bogdan Drutu <[email protected]>
@codeboten codeboten merged commit 868a089 into open-telemetry:main Jun 2, 2022
@bogdandrutu bogdandrutu deleted the mapresolver branch June 2, 2022 22:24
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.

2 participants