Description
Observed Behavior:
The go.mod uses dario.cat/mergo but this project imports github.com/imdario/mergo which causes go to throw an error.
go mod tidy
go: <redacted internal package name> imports
github.com/aws/karpenter-provider-aws/pkg/apis/v1 tested by
github.com/aws/karpenter-provider-aws/pkg/apis/v1.test imports
github.com/imdario/mergo: github.com/imdario/mergo@v1.0.2: parsing go.mod:
module declares its path as: dario.cat/mergo
but was required as: github.com/imdario/mergo
Expected Behavior:
go.mod tidy should not error
The workaround is to add a go mod replace in projects consuming this dependency. https://github.com/darccio/mergo#100
replace github.com/imdario/mergo => dario.cat/mergo v1.0.1
Reproduction Steps (Please include YAML):
Versions:
- Chart Version:
- Kubernetes Version (
kubectl version):
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Observed Behavior:
The go.mod uses
dario.cat/mergobut this project importsgithub.com/imdario/mergowhich causes go to throw an error.Expected Behavior:
go.mod tidy should not error
The workaround is to add a go mod replace in projects consuming this dependency. https://github.com/darccio/mergo#100
Reproduction Steps (Please include YAML):
Versions:
kubectl version):