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

Avoid copying loop vars (Go 1.22+) #7191

Merged
merged 1 commit into from
Nov 24, 2024

Conversation

anderseknert
Copy link
Member

This isn't needed anymore, so now we don't. Also enabled the copyloopvar linter in case we accidentally do this in the future.

This isn't needed anymore, so now we don't.
Also enabled the copyloopvar linter in case we
accidentally do this in the future.

Signed-off-by: Anders Eknert <anders@styra.com>
Copy link
Contributor

@srenatus srenatus left a comment

Choose a reason for hiding this comment

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

Thanks!

@anderseknert anderseknert merged commit 270f31f into open-policy-agent:main Nov 24, 2024
28 checks passed
@anderseknert anderseknert deleted the copyloopvar branch November 24, 2024 19:51
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.

2 participants