diff --git a/Makefile b/Makefile index cc7d9f0ffb..9014b81f78 100644 --- a/Makefile +++ b/Makefile @@ -468,7 +468,7 @@ ifneq ($(shell uname -s), Darwin) pushd $${dirname}>/dev/null; \ echo $${dirname}; \ echo $(GO) generate; \ - $(GO) generate; \ + $(GO) generate -mod=vendor; \ popd > /dev/null; \ done; endif