[#34] localstore: Store object identifier in meta storage
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
99d380c20b
commit
ded0350c5e
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ func metaFromObject(o *object.Object) *ObjectMeta {
|
||||||
meta.savedAtEpoch = 10
|
meta.savedAtEpoch = 10
|
||||||
|
|
||||||
raw := object.NewRaw()
|
raw := object.NewRaw()
|
||||||
|
raw.SetID(o.GetID())
|
||||||
raw.SetContainerID(o.GetContainerID())
|
raw.SetContainerID(o.GetContainerID())
|
||||||
raw.SetOwnerID(o.GetOwnerID())
|
raw.SetOwnerID(o.GetOwnerID())
|
||||||
// TODO: set other meta fields
|
// TODO: set other meta fields
|
||||||
|
|
Loading…
Reference in a new issue