diff --git a/hack/generate-proto.sh b/hack/generate-proto.sh index dcbd5be07c..43d25825d6 100755 --- a/hack/generate-proto.sh +++ b/hack/generate-proto.sh @@ -33,7 +33,7 @@ cd "${FAKE_REPOPATH}" # go >= 1.17 GOBIN=${GOPATH}/bin go install -mod=vendor ./vendor/k8s.io/code-generator/cmd/go-to-protobuf -export GO111MODULE="on" +export GO111MODULE="off" ${GOPATH}/bin/go-to-protobuf \ --go-header-file=./hack/custom-boilerplate.go.txt \