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 iteration in instance #2009

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

Fix per loop iteration in instance #2009

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

Comments

@remyleone
Copy link
Member

$ go build -gcflags=all=-d=loopvar=2 ./...                                                                                                                                              
# github.com/scaleway/scaleway-sdk-go/api/instance/v1
api/instance/v1/instance_metadata_sdk.go:38:9: loop variable url now per-iteration, heap-allocated

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

@remyleone remyleone added the instance Instance issues, bugs and feature requests label Feb 22, 2024
@remyleone remyleone added the priority:low Low priority such as UX improvements and esthetics label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
instance Instance issues, bugs and feature requests priority:low Low priority such as UX improvements and esthetics
Projects
None yet
Development

No branches or pull requests

2 participants