-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Azure go-autorest causing ambiguous import #628
Comments
Looks like this is because how multi modules are configured in Also, similar errors have been reported for This occurs because:
To fix this, you'll need to tell go to use a version of
|
Closing this issue since this is not a bug with client-go. This issue will only be hit if someone's using something in their Having said that, this issue should go away once kubernetes/kubernetes#79574 has merged. :) |
To anyone who is struggling with this issue, I managed to avoid this problem by removing the following two lines in go.mod.
go mod tidy |
* Details upstream kubernetes/client-go#628 (comment)
* Details upstream kubernetes/client-go#628 (comment)
Got an ambiguous import error when run go get ./... under a go module enabled project with client-go v12.0.0
Looks like go-autorest, at least v11.1.2, is introduced by client-go
Here is the line in my go.mod file:
but in the go.sum, there are many lines:
The text was updated successfully, but these errors were encountered: