-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Honor build_tags in config #11156
Conversation
e801610
to
6f23c51
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. |
6f23c51
to
fc0e27a
Compare
@@ -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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added, PTAL.
<!--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.-->
Description
Link to tracking issue
Fixes #
Testing
Documentation