forked from TrueCloudLab/frostfs-node
[#1555] local_object_storage: Rename method GetLocked
-> GetLocks
Renamed to better reflect the method's purpose of returning locks for the specified object. Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
parent
e9837bbcf9
commit
72470d6b48
4 changed files with 15 additions and 15 deletions
|
@ -85,7 +85,7 @@ func (e *StorageEngine) put(ctx context.Context, prm PutPrm) error {
|
|||
}
|
||||
|
||||
if !existed && locked {
|
||||
lockers, err := e.GetLocked(ctx, ecParent)
|
||||
lockers, err := e.GetLocks(ctx, ecParent)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue