update server reflection code to comply with the change to the grpc generator

This commit is contained in:
Mak Mukhi
2016-10-21 18:06:55 -07:00
parent 2b7e876a2e
commit 727a60e4d1
12 changed files with 14 additions and 13 deletions

View File

@ -448,10 +448,10 @@ func convertCode(err error) codes.Code {
return codes.Unknown
}
// SupportPackageIsVersion3 is referenced from generated protocol buffer files
// SupportPackageIsVersion4 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 SupportPackageIsVersion3 = true
const SupportPackageIsVersion4 = true