plugin: unable to load plugin if go mod is not enabled #31951
Labels
FrozenDueToAge
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?1.11.10
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
Steps to reproduce
Everything works with
1.12.4
but failed with1.11.10
(Test with dockergolang:1.12.4
andgolang:1.11.10
).The workaround is to set
GO111MODULE=on
then it works again.Question
1.12.4
and1.11.10
ifGO111MODULE=off
?net/http
then it works in1.11.10
. Why?What did you expect to see?
Main application should be able to load the plugin.
What did you see instead?
In
1.11.10
in
1.12.4
The text was updated successfully, but these errors were encountered: