replace
not working with vendor in indirect dependency, yet still gives error at compile time
#54121
Labels
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 ofg.yxqyang.asia/docker/[email protected]
github.com/docker/[email protected]
has its dependencies vendored, in particularg.yxqyang.asia/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: