fix a bug in the PR#264

This commit is contained in:
iamqizhao
2015-07-28 20:04:28 -07:00
parent 8e61243e61
commit 48f64961c0
2 changed files with 1 additions and 2 deletions

View File

@ -362,7 +362,6 @@ func (s *Server) processStreamingRPC(t transport.ServerTransport, stream *transp
ss.statusCode = convertCode(appErr)
ss.statusDesc = appErr.Error()
}
return nil
}
return t.WriteStatus(ss.s, ss.statusCode, ss.statusDesc)

View File

@ -46,7 +46,7 @@ import (
// EnableTracing controls whether to trace RPCs using the golang.org/x/net/trace package.
// This should only be set before any RPCs are sent or received by this program.
var EnableTracing = true
var EnableTracing = false
// methodFamily returns the trace family for the given method.
// It turns "/pkg.Service/GetFoo" into "pkg.Service".