[#1057] node/config: Use mode from config in shard/s constructor

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
remotes/fyrchik/neofs-adm-proxy
Pavel Karpy 2021-12-27 14:05:30 +03:00 committed by Pavel Karpy
parent 8b8a815fb3
commit a8ba573ec8
1 changed files with 1 additions and 0 deletions

View File

@ -404,6 +404,7 @@ func initShardOptions(c *cfg) {
opts = append(opts, []shard.Option{
shard.WithLogger(c.log),
shard.WithRefillMetabase(sc.RefillMetabase()),
shard.WithMode(sc.Mode()),
shard.WithBlobStorOptions(
blobstor.WithRootPath(blobStorCfg.Path()),
blobstor.WithCompressObjects(blobStorCfg.Compress()),