[#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
|
@ -16,7 +16,7 @@ var errLockFailed = errors.New("lock operation failed")
|
|||
// Lock marks objects as locked with another object. All objects from the
|
||||
// specified container.
|
||||
//
|
||||
// Allows locking regular objects only (otherwise returns apistatus.IrregularObjectLock).
|
||||
// Allows locking regular objects only (otherwise returns apistatus.LockNonRegularObject).
|
||||
//
|
||||
// Locked list should be unique. Panics if it is empty.
|
||||
func (e *StorageEngine) Lock(idCnr cid.ID, locker oid.ID, locked []oid.ID) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue