Make protobindings gen a bit safer

This commit is contained in:
Tim Hockin
2023-01-21 12:26:05 -08:00
parent afae402865
commit ac2890df45
2 changed files with 16 additions and 7 deletions

View File

@@ -64,7 +64,7 @@ function kube::protoc::protoc() {
# isn't). The inputs to this function do not all have a common root, so
# this works best for all inputs.
PATH="${gogopath}:${PATH}" protoc \
--proto_path="${package}" \
--proto_path="$(pwd -P)" \
--proto_path="${KUBE_ROOT}/vendor" \
--gogo_out=paths=source_relative,plugins=grpc:. \
api.proto