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

config: refactor resource code #4824

Merged
merged 5 commits into from Jan 18, 2024

Conversation

codeboten
Copy link
Contributor

This moves the resource code out of config.go and into resource.go.

Fixes #4821

This moves the resource code out of config.go and into resource.go.

Fixes open-telemetry#4821

Signed-off-by: Alex Boten <aboten@lightstep.com>
@codeboten codeboten requested a review from a team as a code owner January 16, 2024 21:30
Copy link

codecov bot commented Jan 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (044e09a) 81.3% compared to head (b6df676) 81.3%.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #4824   +/-   ##
=====================================
  Coverage   81.3%   81.3%           
=====================================
  Files        150     151    +1     
  Lines      10890   10890           
=====================================
+ Hits        8858    8862    +4     
+ Misses      1873    1869    -4     
  Partials     159     159           
Files Coverage Δ
config/config.go 85.3% <ø> (+5.7%) ⬆️
config/resource.go 100.0% <100.0%> (ø)

@codeboten
Copy link
Contributor Author

@pellared not sure if this warrants a changelog entry or not

@pellared pellared added the Skip Changelog Allow PR to succeed without requiring an addition to the CHANGELOG label Jan 16, 2024
config/resource.go Show resolved Hide resolved
@MrAlias MrAlias merged commit 694c831 into open-telemetry:main Jan 18, 2024
22 checks passed
@MrAlias MrAlias added this to the v0.48.0 milestone Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog Allow PR to succeed without requiring an addition to the CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

config: Move newResource to resource.go and add tests in resource_test.go
4 participants