Remove a debug log

This commit is contained in:
iamqizhao
2015-03-06 17:35:54 -08:00
parent 076e591ca4
commit e6b45390ca

View File

@ -105,7 +105,6 @@ func (s *testServer) UnaryCall(ctx context.Context, in *testpb.SimpleRequest) (*
func (s *testServer) StreamingOutputCall(args *testpb.StreamingOutputCallRequest, stream testpb.TestService_StreamingOutputCallServer) error {
if _, ok := metadata.FromContext(stream.Context()); ok {
log.Println("REACH HERE !!!")
// For testing purpose, returns an error if there is attached metadata.
return grpc.Errorf(codes.DataLoss, "got extra metadata")
}