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
|
@ -26,7 +26,7 @@ func (x Info) WriteToV2(msg *subnet.Info) {
|
|||
|
||||
// Marshal encodes Info into a binary format of NeoFS API V2 protocol (Protocol Buffers with direct field order).
|
||||
func (x *Info) Marshal() ([]byte, error) {
|
||||
return (*subnet.Info)(x).StableMarshal(nil)
|
||||
return (*subnet.Info)(x).StableMarshal(nil), nil
|
||||
}
|
||||
|
||||
// Unmarshal decodes Info from NeoFS API V2 binary format (see Marshal). Must not be called on nil.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue