correctly indicate external-provisioner go.mod version by major for proper module resolution
jakobmoellerdev opened this issue · 5 comments
What happened:
I tried importing the command of external-provisioner with go get github.com/kubernetes-csi/external-provisioner@v3.6.2
but couldn't because the go.mod does not properly include the version path suffix at https://github.com/kubernetes-csi/external-provisioner/blob/master/go.mod#L1
What you expected to happen:
I expect the version suffix to follow the major version (currently /v3
), just like for external-snapshotter: https://github.com/kubernetes-csi/external-snapshotter/blob/master/go.mod#L1
How to reproduce it:
Attempt to build a go module and depend on any package of external-provisioner with go get github.com/kubernetes-csi/external-provisioner@v3.6.2
Anything else we need to know?:
Even though there aren't a lot of use cases, this is common go hygiene and shouldn't be too hard to fix.
Environment:
- Driver version: 3.6.2
hello