Sunday, May 19, 2024
HomeGolangDownside with go get: module discovered however doesn't comprise bundle - Getting...

Downside with go get: module discovered however doesn’t comprise bundle – Getting Assist


Howdy! I’m new to the discourse discussion board. Right here’s my query:

Attempting to get the schema for github.com/open-telemetry/opentelemetry-operator/apis/v1beta1

❯ go get github.com/open-telemetry/opentelemetry-operator/apis/v1beta1        
go: module github.com/open-telemetry/opentelemetry-operator@improve discovered (v1.51.0), however doesn't comprise bundle github.com/open-telemetry/opentelemetry-operator/apis/v1beta1

I’m undecided what to seek for to get round this error. I attempted including @v1.51.0 on the finish of the import however nonetheless no luck.

How do I import this bundle?

Troubleshooting earlier than asking query:

❯ go clear -cache
❯ go clear -modcache
❯ export GOPROXY=direct

However once I do the go get it merely hangs.

Okay I discovered the answer.

This specific bundle has a polluted model historical past. The REAL newest model is v0.99.0. Including @v0.99.0 to the tip of my go get solves the difficulty.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments