You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to get the module using recommended path sigs.k8s.io/aws-load-balancer-controller/[email protected]. But, still the same error. The go.mod file is set to module "sigs.k8s.io/aws-load-balancer-controller". It should have been "sigs.k8s.io/aws-load-balancer-controller/v2"
The text was updated successfully, but these errors were encountered:
Describe the bug
Go is not able to import
sigs.k8s.io/[email protected]
.go get sigs.k8s.io/[email protected]
throws the error,go:sigs.k8s.io/[email protected]:invalid version: module contains a go.mod file, so module path must match major version ("sigs.k8s.io/[email protected]/v2")
Steps to reproduce
With go version 1.22+, import the module
sigs.k8s.io/[email protected]
Run
go get sigs.k8s.io/[email protected]
in the terminalExpected outcome
The module is installed successfully
Environment
Additional Context:
Tried to get the module using recommended path
sigs.k8s.io/aws-load-balancer-controller/[email protected]
. But, still the same error. Thego.mod
file is set to module "sigs.k8s.io/aws-load-balancer-controller". It should have been "sigs.k8s.io/aws-load-balancer-controller/v2"The text was updated successfully, but these errors were encountered: