forked from TrueCloudLab/frostfs-node
[#1057] node/config: Use mode from config in shard/s constructor
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
8b8a815fb3
commit
a8ba573ec8
1 changed files with 1 additions and 0 deletions
|
@ -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()),
|
||||
|
|
Loading…
Reference in a new issue