[#222] Rename WithTreeRoot..
to WithRoot..
in blobstor opts
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
d4e48b28b1
commit
f45b7a048d
3 changed files with 8 additions and 8 deletions
|
@ -510,9 +510,9 @@ func initShardOptions(c *cfg) {
|
|||
opts = append(opts, []shard.Option{
|
||||
shard.WithLogger(c.log),
|
||||
shard.WithBlobStorOptions(
|
||||
blobstor.WithTreeRootPath(blobPath),
|
||||
blobstor.WithRootPath(blobPath),
|
||||
blobstor.WithCompressObjects(compressObjects, c.log),
|
||||
blobstor.WithTreeRootPerm(blobPerm),
|
||||
blobstor.WithRootPerm(blobPerm),
|
||||
blobstor.WithShallowDepth(shallowDepth),
|
||||
blobstor.WithSmallSizeLimit(smallSzLimit),
|
||||
blobstor.WithBlobovniczaSize(blzSize),
|
||||
|
@ -528,7 +528,7 @@ func initShardOptions(c *cfg) {
|
|||
),
|
||||
shard.WithWriteCache(useCache),
|
||||
shard.WithWriteCacheOptions(
|
||||
blobstor.WithTreeRootPath(writeCachePath),
|
||||
blobstor.WithRootPath(writeCachePath),
|
||||
),
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue