Skip to content

Commit

Permalink
example: update for optional testing
Browse files Browse the repository at this point in the history
Add a optional field to health.proto.

Signed-off-by: Tim Zhang <[email protected]>
  • Loading branch information
Tim-Zhang committed Aug 24, 2022
1 parent 3b47e31 commit 8ad8f2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ homepage = "https://github.com/alipay/ttrpc-rust"
description = "An example of ttrpc."

[dev-dependencies]
protobuf = "2.8.0"
protobuf = "2.27.1"
bytes = "0.4.11"
libc = "0.2.79"
byteorder = "1.3.2"
Expand Down
1 change: 1 addition & 0 deletions example/protocols/protos/health.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option (gogoproto.benchgen_all) = true;

message CheckRequest {
string service = 1;
optional string option_val = 2;
}

message HealthCheckResponse {
Expand Down

0 comments on commit 8ad8f2f

Please sign in to comment.