Skip to content

Commit 4a0e55e

Browse files
bianpengyuanistio-testing
authored andcommitted
add stdduration annotation. (#673)
1 parent 9e5a917 commit 4a0e55e

3 files changed

Lines changed: 102 additions & 96 deletions

File tree

policy/v1beta1/cfg.pb.go

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

policy/v1beta1/cfg.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ message Connection {
332332
string address = 2;
333333

334334
// Timeout for remote calls to the backend.
335-
google.protobuf.Duration timeout = 3;
335+
google.protobuf.Duration timeout = 3 [(gogoproto.stdduration) = true];
336336

337337
// TODO: Add auth related fields.
338338
}

0 commit comments

Comments
 (0)