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

Honor build_tags in config #11156

Merged
merged 5 commits into from
Sep 19, 2024
Merged

Honor build_tags in config #11156

merged 5 commits into from
Sep 19, 2024

Conversation

newly12
Copy link
Contributor

@newly12 newly12 commented Sep 12, 2024

Description

Link to tracking issue

Fixes #

Testing

Documentation

Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.85%. Comparing base (6cbe5d6) to head (7e7d263).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11156      +/-   ##
==========================================
+ Coverage   91.84%   91.85%   +0.01%     
==========================================
  Files         416      416              
  Lines       19925    19926       +1     
==========================================
+ Hits        18301    18304       +3     
+ Misses       1246     1245       -1     
+ Partials      378      377       -1     

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

@@ -209,5 +209,6 @@ func applyCfgFromFile(flags *flag.FlagSet, cfgFromFile builder.Config) {
if !flags.Changed(distributionModuleFlag) && cfgFromFile.Distribution.Module != "" {
cfg.Distribution.Module = cfgFromFile.Distribution.Module
}
cfg.Distribution.BuildTags = cfgFromFile.Distribution.BuildTags
Copy link
Member

Choose a reason for hiding this comment

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

Do you mind having some unittests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added, PTAL.

@newly12 newly12 requested a review from a team as a code owner September 19, 2024 00:26
@mx-psi mx-psi merged commit 396ae85 into open-telemetry:main Sep 19, 2024
46 of 47 checks passed
@github-actions github-actions bot added this to the next release milestone Sep 19, 2024
jackgopack4 pushed a commit to jackgopack4/opentelemetry-collector that referenced this pull request Sep 19, 2024
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->
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