Skip to content

Commit

Permalink
For gnmi_ext.proto, run protoc with a path that starts with github.co…
Browse files Browse the repository at this point in the history
…m/ (this is for reflections)
  • Loading branch information
hyun-arista committed Feb 20, 2024
1 parent 4423cef commit 6a8ec1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compile_protos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ proto_imports_go=".:${protobufsrc}:${googleapis}:${GOPATH}/src"
protoc -I=$proto_imports_go --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative,require_unimplemented_servers=false testing/fake/proto/fake.proto
protoc -I=$proto_imports_go --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative,require_unimplemented_servers=false proto/gnmi/gnmi.proto
protoc -I=$proto_imports_go --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative,require_unimplemented_servers=false proto/collector/collector.proto
protoc -I=$proto_imports_go --go_out=. --go_opt=paths=source_relative proto/gnmi_ext/gnmi_ext.proto
protoc -I=$proto_imports_go --go_out=${GOPATH}/src --go_opt=paths=source_relative github.com/openconfig/gnmi/proto/gnmi_ext/gnmi_ext.proto
protoc -I=$proto_imports_go --go_out=. --go_opt=paths=source_relative proto/target/target.proto

# Python
Expand Down

0 comments on commit 6a8ec1f

Please sign in to comment.