forked from TrueCloudLab/frostfs-node
[#271] service/object: Fill all fields of new short header structure
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
af7ae0ec4c
commit
85773c419b
1 changed files with 2 additions and 0 deletions
|
@ -197,6 +197,8 @@ func toShortObjectHeader(hdr *object.Object) objectV2.GetHeaderPart {
|
|||
sh.SetPayloadLength(hdrV2.GetPayloadLength())
|
||||
sh.SetVersion(hdrV2.GetVersion())
|
||||
sh.SetObjectType(hdrV2.GetObjectType())
|
||||
sh.SetHomomorphicHash(hdrV2.GetHomomorphicHash())
|
||||
sh.SetPayloadHash(hdrV2.GetPayloadHash())
|
||||
|
||||
return sh
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue