forked from TrueCloudLab/frostfs-node
[#2081] ir: Set default key in IR's SDK clients
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
c180c405b5
commit
28ad4c6ebc
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ type (
|
||||||
func newClientCache(p *clientCacheParams) *ClientCache {
|
func newClientCache(p *clientCacheParams) *ClientCache {
|
||||||
return &ClientCache{
|
return &ClientCache{
|
||||||
log: p.Log,
|
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,
|
key: p.Key,
|
||||||
sgTimeout: p.SGTimeout,
|
sgTimeout: p.SGTimeout,
|
||||||
headTimeout: p.HeadTimeout,
|
headTimeout: p.HeadTimeout,
|
||||||
|
|
Loading…
Reference in a new issue