From ded0350c5e0883b44bdfd8a767d7f660d7956f16 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Tue, 22 Sep 2020 09:46:24 +0300 Subject: [PATCH] [#34] localstore: Store object identifier in meta storage Signed-off-by: Leonard Lyubich --- pkg/local_object_storage/localstore/meta.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/local_object_storage/localstore/meta.go b/pkg/local_object_storage/localstore/meta.go index b11675d524..1db193c081 100644 --- a/pkg/local_object_storage/localstore/meta.go +++ b/pkg/local_object_storage/localstore/meta.go @@ -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