aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/codegen
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2016-03-31 09:17:54 -0700
committerGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2016-03-31 09:17:54 -0700
commit7894e60306d52acb841d401aaa6f0e6a80e57029 (patch)
tree7130d8fcfce2eed9e6d024e37439382f7aaa5f50 /tools/codegen
parent6fa2ce56f3600b044d9e27897823de736e948a73 (diff)
parent5a6b45d9159a07669616b9aa7ce8972fb77f6705 (diff)
Merge pull request #6000 from ctiller/optionalize_roundrobin
Optionalize load balancing policies
Diffstat (limited to 'tools/codegen')
-rwxr-xr-xtools/codegen/core/gen_load_balancing_proto.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/codegen/core/gen_load_balancing_proto.sh b/tools/codegen/core/gen_load_balancing_proto.sh
index 6a5363eeb3..339da0a733 100755
--- a/tools/codegen/core/gen_load_balancing_proto.sh
+++ b/tools/codegen/core/gen_load_balancing_proto.sh
@@ -82,7 +82,7 @@ fi
readonly GRPC_ROOT=$PWD
-OUTPUT_DIR="$GRPC_ROOT/src/core/lib/proto/grpc/lb/v0"
+OUTPUT_DIR="$GRPC_ROOT/src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0"
if [ $# -eq 2 ]; then
mkdir -p "$2"
if [ $? != 0 ]; then
@@ -122,7 +122,7 @@ protoc \
"$(basename $1)"
readonly PROTO_BASENAME=$(basename $1 .proto)
-sed -i "s:$PROTO_BASENAME.pb.h:src/core/lib/proto/grpc/lb/v0/$PROTO_BASENAME.pb.h:g" \
+sed -i "s:$PROTO_BASENAME.pb.h:src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/$PROTO_BASENAME.pb.h:g" \
"$OUTPUT_DIR/$PROTO_BASENAME.pb.c"
# prepend copyright