add TODO to fix trace

This commit is contained in:
Sameer Ajmani 2015-09-28 10:22:26 -04:00
parent ee98c48bb4
commit 86db82df28
1 changed files with 3 additions and 1 deletions

View File

@ -319,7 +319,9 @@ func (s *Server) processUnaryRPC(t transport.ServerTransport, stream *transport.
return err
}
if traceInfo.tr != nil {
traceInfo.tr.LazyLog(&payload{sent: false, msg: req}, true)
// TODO: set payload.msg to something that
// prints usefully with %s; req is a []byte.
traceInfo.tr.LazyLog(&payload{sent: false}, true)
}
switch pf {
case compressionNone: