forked from TrueCloudLab/frostfs-node
[#30] core/object: Remove no longer used MarshalStableV2 method
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
87487cde00
commit
2975b61abd
1 changed files with 0 additions and 9 deletions
|
@ -15,15 +15,6 @@ type Object struct {
|
||||||
*object.Object
|
*object.Object
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalStableV2 marshals Object to v2 binary format.
|
|
||||||
func (o *Object) MarshalStableV2() ([]byte, error) {
|
|
||||||
if o != nil {
|
|
||||||
return o.ToV2().StableMarshal(nil)
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
// Address returns address of the object.
|
// Address returns address of the object.
|
||||||
func (o *Object) Address() *object.Address {
|
func (o *Object) Address() *object.Address {
|
||||||
if o != nil {
|
if o != nil {
|
||||||
|
|
Loading…
Reference in a new issue