mirror of
https://github.com/smallnest/rpcx.git
synced 2025-09-26 20:21:14 +08:00
Merge pull request #808 from dy1006/patch-1
SendRaw should return ResMetadata instead of Metadata
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user