From 28ad4c6ebcbd796a1b3b14dc0608973e603f66ca Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Tue, 22 Nov 2022 19:27:39 +0300 Subject: [PATCH] [#2081] ir: Set default key in IR's SDK clients Signed-off-by: Pavel Karpy --- pkg/innerring/rpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/innerring/rpc.go b/pkg/innerring/rpc.go index b649e839e..77fb08554 100644 --- a/pkg/innerring/rpc.go +++ b/pkg/innerring/rpc.go @@ -47,7 +47,7 @@ type ( func newClientCache(p *clientCacheParams) *ClientCache { return &ClientCache{ log: p.Log, - cache: cache.NewSDKClientCache(cache.ClientCacheOpts{AllowExternal: p.AllowExternal}), + cache: cache.NewSDKClientCache(cache.ClientCacheOpts{AllowExternal: p.AllowExternal, Key: p.Key}), key: p.Key, sgTimeout: p.SGTimeout, headTimeout: p.HeadTimeout,