-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
getting error in go mod #14980
Comments
Hi @pritamlipu1 - can you show your go.mod file? Thanks! |
@hsimon-hashicorp module myapp go 1.15 require ( |
Log: go test ./... -race -v -coverprofile=test-output/coverage.profiler.out go: downloading github.com/Shopify/sarama v1.32.0 |
@hsimon-hashicorp is it an issue with go version? or issue with go test? Should I use go 1.17? Please suggest. Ref: #13579 |
Howdy @pritamlipu1! Yes, upgrading to go 1.17 should fix the issue. There was a change in go 1.17 to prefer |
Hi @pritamlipu1 - please let us know if using Go 1.17 resolved this for you. Thanks! :) |
@schultz-is @hsimon-hashicorp Thank You for your inputs. Yes after upgrading to 1.17, its resolved. Hence closing this ticket. |
@pritamlipu1 Glad to hear that worked out for you. Thanks for the issue report! |
I have added 2 dependencies in my go.mod file.
ie: github.com/hashicorp/vault/api v1.5.0
github.com/hashicorp/vault/api/auth/kubernetes v0.1.0
In a new docker container when I am starting my service its downloading all dependency for above.
But getting following error. Not sure how to fix it.
error: go: downloading github.com/hashicorp/go-immutable-radix v1.3.1
../../../go/pkg/mod/github.com/hashicorp/vault/sdk@v0.4.1/helper/pluginutil/run_config.go:13:2: //go:build comment without // +build comment
Please help
The text was updated successfully, but these errors were encountered: