-
Notifications
You must be signed in to change notification settings - Fork 672
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
v.0.31.0 has an issue with module upgrade #1009
Comments
Fixed.. |
|
A memo for who have same issue. it is a breaking change of https://github.com/aws/aws-sdk-go-v2/releases/tag/v0.31.0
So, I needed to change the import path. -import "github.com/aws/aws-sdk-go-v2/ec2imds"
+import "github.com/aws/aws-sdk-go-v2/feature/ec2/imds" |
Upgraded to 0.31.0 from 0.30.0, ran into the following issue, not seen in 0.30.0 Can't run linter goanalysis_metalinter: bodyclose: could not import github.com/aws/aws-sdk-go-v2/config (/Users/user/go/pkg/mod/github.com/aws/aws-sdk-go-v2/[email protected]/provider.go:9:2: could not import github.com/aws/aws-sdk-go-v2/credentials/ec2rolecreds (/Users/user/go/pkg/mod/github.com/aws/aws-sdk-go-v2/[email protected]/ec2rolecreds/provider.go:13:2: failed to load package ec2imds: could not load export data: no export data for "github.com/aws/aws-sdk-go-v2/ec2imds"" |
Hello All,
I am unable to upgrade to
v.0.31.0
The text was updated successfully, but these errors were encountered: