From 886de4ffd18397ab9da460a060212884afc70551 Mon Sep 17 00:00:00 2001 From: dy1006 <34502305+dy1006@users.noreply.github.com> Date: Thu, 13 Jul 2023 16:54:42 +0800 Subject: [PATCH] SendRaw should return ResMetadata instead of Metadata --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 96498f8b..53f91399 100644 --- a/client/client.go +++ b/client/client.go @@ -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) }