[#34] localstore: Store object identifier in meta storage

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
support/v0.27
Leonard Lyubich 2020-09-22 09:46:24 +03:00 committed by Alex Vanin
parent 99d380c20b
commit ded0350c5e
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ func metaFromObject(o *object.Object) *ObjectMeta {
meta.savedAtEpoch = 10
raw := object.NewRaw()
raw.SetID(o.GetID())
raw.SetContainerID(o.GetContainerID())
raw.SetOwnerID(o.GetOwnerID())
// TODO: set other meta fields