Fixing dead code and go vet moaning

This commit is contained in:
Milos Gajdos
2019-12-05 16:10:49 +00:00
parent 3a10b1cdde
commit 5865e89bed
12 changed files with 5 additions and 19 deletions

View File

@@ -169,7 +169,7 @@ func (g *grpcCodec) Write(m *codec.Message, v interface{}) error {
m.Body = b
}
// 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 {