Open
Description
What version of Go are you using (go version
)?
$ go version go version go1.19.5 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env
)?
Linux amd64
go env
Output
$ go env GO111MODULE="on" GOARCH="amd64" GOBIN="" GOCACHE="/home/sirianni/.cache/go-build" GOENV="/home/sirianni/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/sirianni/go/pkg/mod" GONOPROXY="github.com/confluentinc/*" GONOSUMDB="github.com/confluentinc/*" GOOS="linux" GOPATH="/home/sirianni/go" GOPRIVATE="github.com/confluentinc/*" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/sirianni/.asdf/installs/golang/1.19.5/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/sirianni/.asdf/installs/golang/1.19.5/go/pkg/tool/linux_amd64" GOVCS="" GOVERSION="go1.19.5" GCCGO="gccgo" GOAMD64="v1" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOWORK="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1184547243=/tmp/go-build -gno-record-gcc-switches"
What did you do?
$ go get github.com/open-telemetry/opentelemetry-collector-contrib/processor/[email protected]
What did you expect to see?
Module successfully found and added to go.mod
What did you see instead?
go: module github.com/open-telemetry/[email protected] found, but does not contain package github.com/open-telemetry/opentelemetry-collector-contrib/processor/redactionprocessor
Running go clean -modcache
and then re-executing the same go get ...
command works.