Merge pull request #522 from dsymonds/master
Prepare for adding a compatibility marker to proto generated code.
This commit is contained in:
@ -442,3 +442,11 @@ func backoff(retries int) (t time.Duration) {
|
|||||||
}
|
}
|
||||||
return time.Duration(backoff)
|
return time.Duration(backoff)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SupportPackageIsVersion1 is referenced from generated protocol buffer files
|
||||||
|
// to assert that that code is compatible with this version of the grpc package.
|
||||||
|
//
|
||||||
|
// This constant may be renamed in the future if a change in the generated code
|
||||||
|
// requires a synchronised update of grpc-go and protoc-gen-go. This constant
|
||||||
|
// should not be referenced from any other code.
|
||||||
|
const SupportPackageIsVersion1 = true
|
||||||
|
Reference in New Issue
Block a user