Reset marshal data on object.CutPayload #202

Merged
dstepanov-yadro merged 3 commits from dstepanov-yadro/frostfs-sdk-go:fix/cut_payload_reset_marshal_data into master 2024-09-04 19:51:15 +00:00
Showing only changes of commit a86170f53a - Show all commits

View file

@ -571,6 +571,7 @@ func (o *Object) CutPayload() *Object {
ov2 := new(object.Object)
*ov2 = *(*object.Object)(o)
ov2.SetPayload(nil)
ov2.SetMarshalData(nil)
return (*Object)(ov2)
}