forked from TrueCloudLab/frostfs-node
[#1461] shard: Fix option naming
`WitDeletedLockCallback` => `WithDeletedLockCallback`. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
5122be34e7
commit
63c00e785d
3 changed files with 4 additions and 4 deletions
|
@ -38,7 +38,7 @@ func (e *StorageEngine) AddShard(opts ...shard.Option) (*shard.ID, error) {
|
|||
shard.WithID(id),
|
||||
shard.WithExpiredTombstonesCallback(e.processExpiredTombstones),
|
||||
shard.WithExpiredLocksCallback(e.processExpiredLocks),
|
||||
shard.WitDeletedLockCallback(e.processDeletedLocks),
|
||||
shard.WithDeletedLockCallback(e.processDeletedLocks),
|
||||
)...)
|
||||
|
||||
if err := sh.UpdateID(); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue