[#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:
Aleksey Savchuk 2024-12-11 14:43:36 +03:00
parent e9837bbcf9
commit 72470d6b48
Signed by: a-savchuk
GPG key ID: 70C0A7FF6F9C4639
4 changed files with 15 additions and 15 deletions

View file

@ -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
}