satellite/metainfo: add position to begin move results

BeginMoveObject response was missing Position.

Change-Id: I2a91f0b1ac39c476731a2755754e46970c8657be
This commit is contained in:
Michał Niewrzał 2021-09-20 10:06:36 +02:00 committed by Michal Niewrzal
parent 32cee1e572
commit 38366914b2

View File

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