mirror of
https://github.com/go-kratos/kratos.git
synced 2025-03-17 21:07:54 +02:00
fix warden client metadta range
This commit is contained in:
parent
5df7bfc200
commit
43c63d03cd
@ -107,6 +107,8 @@ func (c *Client) handle() grpc.UnaryClientInterceptor {
|
||||
return
|
||||
}
|
||||
defer onBreaker(brk, &err)
|
||||
_, ctx, cancel = conf.Timeout.Shrink(ctx)
|
||||
defer cancel()
|
||||
nmd.Range(ctx,
|
||||
func(key string, value interface{}) {
|
||||
if valstr, ok := value.(string); ok {
|
||||
|
Loading…
x
Reference in New Issue
Block a user