Make update-codegen protobuf work on gengo/v2
This commit is contained in:
@@ -31,8 +31,8 @@ PROTOC_VERSION=23.4
|
||||
# and formats it correctly
|
||||
# $1: Full path to the directory where the api.proto file is
|
||||
function kube::protoc::generate_proto() {
|
||||
kube::golang::old::setup_env
|
||||
GO111MODULE=on GOPROXY=off go install k8s.io/code-generator/cmd/go-to-protobuf/protoc-gen-gogo
|
||||
kube::golang::new::setup_env
|
||||
GOPROXY=off go install k8s.io/code-generator/cmd/go-to-protobuf/protoc-gen-gogo
|
||||
|
||||
kube::protoc::check_protoc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user