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

Remove the obsolete +build directive #9304

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Jan 17, 2024

// +build was replaced with //go:build directive in Go 1.17. The +build can be removed since we support only 1.20 and 1.21

"// +build" was replaced with "//go:build" directive in 1.17. +build can be removed since we support only 1.20 and 1.21
Copy link

codecov bot commented Jan 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bb1ae64) 90.33% compared to head (e689d51) 90.33%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9304   +/-   ##
=======================================
  Coverage   90.33%   90.33%           
=======================================
  Files         340      340           
  Lines       17968    17968           
=======================================
  Hits        16232    16232           
  Misses       1412     1412           
  Partials      324      324           

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

@dmitryax dmitryax merged commit 20710ff into open-telemetry:main Jan 17, 2024
32 checks passed
@github-actions github-actions bot added this to the next release milestone Jan 17, 2024
dmitryax added a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Jan 17, 2024
To pick up
open-telemetry/opentelemetry-collector#9304 and
remove obsolete directives from files generated by the builder.

---------

Signed-off-by: Dmitrii Anoshin <anoshindx@gmail.com>
dmitryax added a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Jan 17, 2024
`// +build` was replaced with `//go:build` directive in Go 1.17. +build
can be removed since we support only 1.20 and 1.21

Same as
open-telemetry/opentelemetry-collector#9304
@dmitryax dmitryax deleted the remove-old-go-build branch January 18, 2024 01:38
mfyuce pushed a commit to mfyuce/opentelemetry-collector-contrib that referenced this pull request Jan 18, 2024
To pick up
open-telemetry/opentelemetry-collector#9304 and
remove obsolete directives from files generated by the builder.

---------

Signed-off-by: Dmitrii Anoshin <anoshindx@gmail.com>
mfyuce pushed a commit to mfyuce/opentelemetry-collector-contrib that referenced this pull request Jan 18, 2024
`// +build` was replaced with `//go:build` directive in Go 1.17. +build
can be removed since we support only 1.20 and 1.21

Same as
open-telemetry/opentelemetry-collector#9304
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Feb 1, 2024
To pick up
open-telemetry/opentelemetry-collector#9304 and
remove obsolete directives from files generated by the builder.

---------

Signed-off-by: Dmitrii Anoshin <anoshindx@gmail.com>
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Feb 1, 2024
`// +build` was replaced with `//go:build` directive in Go 1.17. +build
can be removed since we support only 1.20 and 1.21

Same as
open-telemetry/opentelemetry-collector#9304
lapis-lark pushed a commit to lapis-lark/otel-cassandra-exporter-rework that referenced this pull request Nov 4, 2024
To pick up
open-telemetry/opentelemetry-collector#9304 and
remove obsolete directives from files generated by the builder.

---------

Signed-off-by: Dmitrii Anoshin <anoshindx@gmail.com>
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