[#922] engine: Fix typos and improve naming related to exec blocks

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-11-10 18:00:30 +03:00 committed by Alex Vanin
parent 6b1ce99c35
commit a537334f33
9 changed files with 13 additions and 13 deletions

View file

@ -29,7 +29,7 @@ func (p *DeletePrm) WithAddresses(addr ...*objectSDK.Address) *DeletePrm {
//
// Returns an error if executions are blocked (see BlockExecution).
func (e *StorageEngine) Delete(prm *DeletePrm) (res *DeleteRes, err error) {
err = e.exec(func() error {
err = e.execIfNotBlocked(func() error {
res, err = e.delete(prm)
return err
})