I checked out the kubernetes project at tag v1.20.4. Then run "go list -deps -json ./... > json,txt" in the project root. In the produced json.txt file, I notice that the module path for two packages look not right. The path of a package should be prefixed with its module path. But the two don't. Bug?
The first: { "Dir": "/home/lx/mount/sda2/opensource/it-infrastructure/kubernetes/vendor/github.com/Azure/go-autorest/autorest/azure", "ImportPath": "github.com/Azure/go-autorest/autorest/azure", "Name": "azure", "Doc": "Package azure provides Azure-specific implementations used with AutoRest.", "Module": { "Path": "github.com/Azure/go-autorest/autorest/adal", "Replace": { "Path": "github.com/Azure/go-autorest/autorest/adal", "Version": "v0.9.5" } }, ... The second: { "Dir": "/home/lx/mount/sda2/opensource/it-infrastructure/kubernetes/vendor/cloud.google.com/go/compute/metadata", "ImportPath": "cloud.google.com/go/compute/metadata", "Name": "metadata", "Doc": "Package metadata provides access to Google Compute Engine (GCE) metadata and API service accounts.", "Module": { "Path": "cloud.google.com/go/bigquery", "Replace": { "Path": "cloud.google.com/go/bigquery", "Version": "v1.4.0" }, "Indirect": true }, ... -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/afd7670b-87cf-4ede-9467-648f5d5cbc77n%40googlegroups.com.