From 38366914b2c4a14c646542be0f60f3892a9cbd5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Niewrza=C5=82?= Date: Mon, 20 Sep 2021 10:06:36 +0200 Subject: [PATCH] satellite/metainfo: add position to begin move results BeginMoveObject response was missing Position. Change-Id: I2a91f0b1ac39c476731a2755754e46970c8657be --- satellite/metainfo/metainfo.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/satellite/metainfo/metainfo.go b/satellite/metainfo/metainfo.go index d5e745bec..88c40c652 100644 --- a/satellite/metainfo/metainfo.go +++ b/satellite/metainfo/metainfo.go @@ -2947,6 +2947,10 @@ func convertBeginMoveObjectResults(result metabase.BeginMoveObjectResult) (*pb.O } keys[i] = &pb.EncryptedKeyAndNonce{ + Position: &pb.SegmentPosition{ + PartNumber: int32(key.Position.Part), + Index: int32(key.Position.Index), + }, EncryptedKey: key.EncryptedKey, EncryptedKeyNonce: nonce, }