Skip to content

Commit

Permalink
Merge pull request #808 from dy1006/patch-1
Browse files Browse the repository at this point in the history
SendRaw should return ResMetadata instead of Metadata
  • Loading branch information
smallnest authored Jul 13, 2023
2 parents 42669c5 + 886de4f commit 6889a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 6889a78

Please sign in to comment.