forked from TrueCloudLab/frostfs-node
[#34] localstore: Store object identifier in meta storage
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>support/v0.27
parent
99d380c20b
commit
ded0350c5e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue