forked from TrueCloudLab/frostfs-node
[#1377] oid, cid: Upgrade SDK package
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
f65898a354
commit
f15e6e888f
118 changed files with 1455 additions and 886 deletions
|
@ -98,7 +98,10 @@ func (db *DB) FreeLockedBy(lockers []*addressSDK.Address) error {
|
|||
var err error
|
||||
|
||||
for _, addr := range lockers {
|
||||
err = freePotentialLocks(tx, *addr.ContainerID(), *addr.ObjectID())
|
||||
cnr, _ := addr.ContainerID()
|
||||
obj, _ := addr.ObjectID()
|
||||
|
||||
err = freePotentialLocks(tx, cnr, obj)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue