diff --git a/client/v3/watch.go b/client/v3/watch.go index 14ddcb920e1..117c662b432 100644 --- a/client/v3/watch.go +++ b/client/v3/watch.go @@ -1037,7 +1037,7 @@ func (pr *progressRequest) toPB() *pb.WatchRequest { func streamKeyFromCtx(ctx context.Context) string { if md, ok := metadata.FromOutgoingContext(ctx); ok { - return fmt.Sprintf("%+v", md) + return fmt.Sprintf("%+v", map[string][]string(md)) } return "" }