Merge pull request #808 from dy1006/patch-1

SendRaw should return ResMetadata instead of Metadata
This commit is contained in:
smallnest
2023-07-13 19:52:45 +08:00
committed by GitHub

View File

@@ -439,7 +439,7 @@ func (client *Client) SendRaw(ctx context.Context, r *protocol.Message) (map[str
return nil, nil, ctx.Err()
case call := <-done:
err = call.Error
m = call.Metadata
m = call.ResMetadata
if call.Reply != nil {
payload = call.Reply.([]byte)
}