Fixing dead code and go vet moaning
This commit is contained in:
parent
b3a60ba4f1
commit
f0fd4f90a5
2
codec.go
2
codec.go
@ -172,7 +172,7 @@ func (g *grpcCodec) Write(m *codec.Message, v interface{}) error {
|
|||||||
return g.s.SendMsg(v)
|
return g.s.SendMsg(v)
|
||||||
}
|
}
|
||||||
// write the body using the framing codec
|
// write the body using the framing codec
|
||||||
return g.s.SendMsg(&bytes.Frame{m.Body})
|
return g.s.SendMsg(&bytes.Frame{Data: m.Body})
|
||||||
}
|
}
|
||||||
|
|
||||||
func (g *grpcCodec) Close() error {
|
func (g *grpcCodec) Close() error {
|
||||||
|
Loading…
Reference in New Issue
Block a user