forked from TrueCloudLab/frostfs-node
[#28] Update neofs-api-go to build images
These hotfixes will be altered with later neofs-api-go updates. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
3ed02d5f64
commit
778dd54244
3 changed files with 9 additions and 2 deletions
|
@ -17,7 +17,12 @@ type Object struct {
|
|||
// MarshalStableV2 marshals Object to v2 binary format.
|
||||
func (o *Object) MarshalStableV2() ([]byte, error) {
|
||||
if o != nil {
|
||||
return o.ToV2().StableMarshal(nil)
|
||||
v2, err := o.ToV2(nil) // fixme: remove
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return v2.StableMarshal(nil)
|
||||
}
|
||||
|
||||
return nil, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue