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
|
@ -25,7 +25,7 @@ func bucketNameLockers(idCnr cid.ID) []byte {
|
|||
// Lock marks objects as locked with another object. All objects are 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 (db *DB) Lock(cnr cid.ID, locker oid.ID, locked []oid.ID) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue