Skip to content

Commit c396ca5

Browse files
committed
prices: rename proto file to prices.proto
This fixes a registration conflict with the set of etcd protos.
1 parent 40df8f8 commit c396ca5

File tree

8 files changed

+57
-57
lines changed

8 files changed

+57
-57
lines changed

pricesrpc/gen_protos.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66
function generate() {
77
echo "Generating root gRPC server protos"
88

9-
PROTOS="rpc.proto"
9+
PROTOS="prices.proto"
1010

1111
# For each of the sub-servers, we then generate their protos, but a restricted
1212
# set as they don't yet require REST proxies, or swagger docs.
@@ -46,7 +46,7 @@ function generate() {
4646
--plugin=protoc-gen-custom=$falafel\
4747
--custom_out=. \
4848
--custom_opt="$opts" \
49-
rpc.proto
49+
prices.proto
5050

5151
PACKAGES=""
5252
for package in $PACKAGES; do

pricesrpc/rpc.pb.go renamed to pricesrpc/prices.pb.go

Lines changed: 51 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pricesrpc/rpc.pb.gw.go renamed to pricesrpc/prices.pb.gw.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pricesrpc/prices.pb.json.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

pricesrpc/rpc.swagger.json renamed to pricesrpc/prices.swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"swagger": "2.0",
33
"info": {
4-
"title": "rpc.proto",
4+
"title": "prices.proto",
55
"version": "version not set"
66
},
77
"tags": [
File renamed without changes.

pricesrpc/rpc_grpc.pb.go renamed to pricesrpc/prices_grpc.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)