[#1461] shard: Fix option naming

`WitDeletedLockCallback` => `WithDeletedLockCallback`.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-06-06 17:01:21 +03:00 committed by fyrchik
parent 5122be34e7
commit 63c00e785d
3 changed files with 4 additions and 4 deletions

View file

@ -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 {