Replace rpc with grpc in a error message.

This commit is contained in:
iamqizhao 2015-02-11 19:03:57 -08:00
parent 5c0599c9f0
commit 9c9eb38d0d
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ func (s *testServer) UnaryCall(ctx context.Context, in *testpb.SimpleRequest) (*
md, ok := metadata.FromContext(ctx)
if ok {
if err := grpc.SendHeader(ctx, md); err != nil {
log.Fatalf("rpc.SendHeader(%v, %v) = %v, want %v", ctx, md, err, nil)
log.Fatalf("grpc.SendHeader(%v, %v) = %v, want %v", ctx, md, err, nil)
}
grpc.SetTrailer(ctx, md)
}