forked from TrueCloudLab/frostfs-sdk-go
[#257] Upgrade NeoFS API Go module
New version contains fix for `object.GetRangeResponse` message type. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
3953c2166e
commit
6cb513c976
31 changed files with 46 additions and 139 deletions
|
@ -64,12 +64,7 @@ func (x *Lock) WriteMembers(ids []oid.ID) {
|
|||
|
||||
// Marshal encodes the Lock into a NeoFS protocol binary format.
|
||||
func (x Lock) Marshal() []byte {
|
||||
data, err := (*v2object.Lock)(&x).StableMarshal(nil)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
return data
|
||||
return (*v2object.Lock)(&x).StableMarshal(nil)
|
||||
}
|
||||
|
||||
// Unmarshal decodes the Lock from its NeoFS protocol binary representation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue