Skip to content

Commit

Permalink
Updated proto paths
Browse files Browse the repository at this point in the history
  • Loading branch information
hemantkashniyal authored and seldondev committed Dec 20, 2019
1 parent 316ae01 commit 4919312
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ compile_proto:
cd pkg/api && protoc -I. -I./tensorflow --go_out=paths=source_relative,plugins=grpc:. *.proto
cd pkg/api && protoc -I. -I./tensorflow --go_out=paths=source_relative,plugins=grpc:. ./tensorflow/core/framework/*.proto

find ./pkg -name "*.pb.go" -type f -exec perl -e "s/github\.com\/tensorflow\/tensorflow/github\.com\/hemantkashniyal\/seldon-core\/go\/pkg\/api/g" -pi {} +
find ./pkg -name "*.pb.go" -type f -exec perl -e "s/github\.com\/tensorflow\/tensorflow\/tensorflow\/go/github\.com\/hemantkashniyal\/seldon-core\/go\/pkg\/api\/tensorflow/g" -pi {} +
find ./pkg -name "*.proto" -type f -delete
2 changes: 1 addition & 1 deletion go/pkg/api/prediction.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto/prediction.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package seldon.protos;

option java_package = "io.seldon.protos";
option java_outer_classname = "PredictionProtos";
option go_package = "github.com/seldonio/seldon-core/go/pkg/api";
option go_package = "github.com/hemantkashniyal/seldon-core/go/pkg/api";

// [START Messages]

Expand Down

0 comments on commit 4919312

Please sign in to comment.