replace
not working with vendor in indirect dependency, yet still gives error at compile time
#54121
Labels
replace
not working with vendor in indirect dependency, yet still gives error at compile time
#54121
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
I don't know
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I tried to build my program with
go build
, and got the error posted below.I think that the issue is this:
go.mod
, i have the indirect dependency ofgithub.com/docker/[email protected]
github.com/docker/[email protected]
has its dependencies vendored, in particulargithub.com/Sirupsen/logrus
github.com/sirupsen/logrus
from another placeThe problem is that I've added this line to the
go.mod
and doesn't fix the issue:What did you expect to see?
A well built binary
What did you see instead?
The text was updated successfully, but these errors were encountered: