[#1175] Fix typo in error return docs

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2022-03-05 11:46:02 +03:00 committed by LeL
parent d92b1d1bf8
commit e3f4e48d87
4 changed files with 5 additions and 5 deletions

View file

@ -39,7 +39,7 @@ type cfg struct {
type DeleteHandler interface {
// DeleteObjects objects places objects to removal queue.
//
// Returns apistatus.IrregularObjectLock if at least one object
// Returns apistatus.LockNonRegularObject if at least one object
// is locked.
DeleteObjects(*addressSDK.Address, ...*addressSDK.Address) error
}
@ -48,7 +48,7 @@ type DeleteHandler interface {
type Locker interface {
// Lock list of objects as locked by locker in the specified container.
//
// Returns apistatus.IrregularObjectLock if at least object in locked
// Returns apistatus.LockNonRegularObject if at least object in locked
// list is irregular (not type of REGULAR).
Lock(idCnr cid.ID, locker oid.ID, locked []oid.ID) error
}