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

[chore] enabling replace interface{} by any #36735

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

perebaj
Copy link
Contributor

@perebaj perebaj commented Dec 9, 2024

Description

As we change the gofmt by gofumpt -> #36471, the rewrite rule that is responsible for change interface{} by any isn't working anymore. We noticed this problem here -> #36688 (comment). This PR tries to address this lack.

@perebaj perebaj requested a review from a team as a code owner December 9, 2024 23:02
@perebaj perebaj requested a review from MovieStoreGuy December 9, 2024 23:02
@perebaj perebaj changed the title chore: enabling replace interface{} by any chore: enabling replace interface{} by any Dec 9, 2024
@perebaj perebaj changed the title chore: enabling replace interface{} by any [chore] enabling replace interface{} by any Dec 9, 2024
@perebaj
Copy link
Contributor Author

perebaj commented Dec 9, 2024

@ArthurSens @evan-bradley @dashpole tagging you because we work on #36688 together

Comment on lines +83 to +84
rules:
- name: use-any
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@atoulme atoulme added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Dec 10, 2024
@MovieStoreGuy MovieStoreGuy merged commit 28ede1d into open-telemetry:main Dec 11, 2024
160 checks passed
@github-actions github-actions bot added this to the next release milestone Dec 11, 2024
@perebaj
Copy link
Contributor Author

perebaj commented Dec 11, 2024

Thanks 🎉

sbylica-splunk pushed a commit to sbylica-splunk/opentelemetry-collector-contrib that referenced this pull request Dec 17, 2024
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

As we change the gofmt by gofumpt ->
open-telemetry#36471,
the rewrite rule that is responsible for change `interface{}` by `any`
isn't working anymore. We noticed this problem here ->
open-telemetry#36688 (comment).
This PR tries to address this lack.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants