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 7 additions and 2 deletions
2
go.mod
2
go.mod
|
@ -13,7 +13,7 @@ require (
|
|||
github.com/multiformats/go-multiaddr-net v0.1.2 // v0.1.1 => v0.1.2
|
||||
github.com/multiformats/go-multihash v0.0.13 // indirect
|
||||
github.com/nspcc-dev/neo-go v0.91.1-pre.0.20200827184617-7560aa345a78
|
||||
github.com/nspcc-dev/neofs-api-go v1.3.1-0.20200902121740-5a6dff8c83ba
|
||||
github.com/nspcc-dev/neofs-api-go v1.3.1-0.20200911095622-47fd771ee4c5
|
||||
github.com/nspcc-dev/neofs-crypto v0.3.0
|
||||
github.com/panjf2000/ants/v2 v2.3.0
|
||||
github.com/pkg/errors v0.9.1
|
||||
|
|
BIN
go.sum
BIN
go.sum
Binary file not shown.
|
@ -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…
Reference in a new issue