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

Fix per loop LoopvarExperiment #2415

Open
remyleone opened this issue Feb 22, 2024 · 0 comments
Open

Fix per loop LoopvarExperiment #2415

remyleone opened this issue Feb 22, 2024 · 0 comments
Assignees
Labels
priority:low Low priority such as UX improvements and esthetics redis Managed Redis issues, bugs and feature requests

Comments

@remyleone
Copy link
Member

$ go build -gcflags=all=-d=loopvar=2  github.com/scaleway/terraform-provider-scaleway/v2/scaleway
# github.com/scaleway/terraform-provider-scaleway/v2/scaleway
scaleway/helpers_redis.go:158:10: loop variable ip now per-iteration, stack-allocated

https://go.dev/wiki/LoopvarExperiment#my-test-fails-with-the-change-how-can-i-debug-it

@remyleone remyleone added redis Managed Redis issues, bugs and feature requests priority:low Low priority such as UX improvements and esthetics labels Feb 22, 2024
@remyleone remyleone assigned jremy42 and unassigned Mia-Cross Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:low Low priority such as UX improvements and esthetics redis Managed Redis issues, bugs and feature requests
Projects
None yet
Development

No branches or pull requests

3 participants