forked from TrueCloudLab/frostfs-node
[#1175] Fix typo in error return docs
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
d92b1d1bf8
commit
e3f4e48d87
4 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue