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

[exporter/elasticsearch][chore]: Fix copyloopvar issues #36801

Merged

Conversation

rockdaboot
Copy link
Contributor

@rockdaboot rockdaboot commented Dec 12, 2024

Description

Since Go 1.22, loop vars doesn't have to be explicitly created any more (Go 1.22 release notes). This PR cleans up the code.

@ChrsMark ChrsMark added the ready to merge Code review completed; ready to merge by maintainers label Dec 12, 2024
@dmitryax dmitryax merged commit 87f39c4 into open-telemetry:main Dec 14, 2024
173 checks passed
@github-actions github-actions bot added this to the next release milestone Dec 14, 2024
sbylica-splunk pushed a commit to sbylica-splunk/opentelemetry-collector-contrib that referenced this pull request Dec 17, 2024
…ry#36801)

#### Description

Since Go 1.22, loop vars doesn't have to be explicitly created any more
([Go 1.22 release notes](https://tip.golang.org/doc/go1.22)). This PR
cleans up the code.
mterhar pushed a commit to mterhar/opentelemetry-collector-contrib that referenced this pull request Dec 19, 2024
…ry#36801)

#### Description

Since Go 1.22, loop vars doesn't have to be explicitly created any more
([Go 1.22 release notes](https://tip.golang.org/doc/go1.22)). This PR
cleans up the code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/elasticsearch ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants