[#184] Use SDK client cache in object.Range

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-11-18 16:04:33 +03:00 committed by Alex Vanin
parent d485a5967d
commit f85e88c4f8
4 changed files with 22 additions and 10 deletions

View file

@ -294,6 +294,7 @@ func initObjectService(c *cfg) {
sRange := rangesvc.NewService(
rangesvc.WithKeyStorage(keyStorage),
rangesvc.WithClientCache(clientCache),
rangesvc.WithLocalStorage(ls),
rangesvc.WithContainerSource(c.cfgObject.cnrStorage),
rangesvc.WithNetworkMapSource(c.cfgObject.netMapStorage),