forked from TrueCloudLab/frostfs-node
[#174] Update to latest neofs-api-go changes
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
e98b77133c
commit
3de8febe57
47 changed files with 190 additions and 216 deletions
|
@ -18,7 +18,7 @@ type localTarget struct {
|
|||
func (t *localTarget) WriteHeader(obj *object.RawObject) error {
|
||||
t.obj = obj
|
||||
|
||||
t.payload = make([]byte, 0, obj.GetPayloadSize())
|
||||
t.payload = make([]byte, 0, obj.PayloadSize())
|
||||
|
||||
return nil
|
||||
}
|
||||
|
@ -35,5 +35,5 @@ func (t *localTarget) Close() (*transformer.AccessIdentifiers, error) {
|
|||
}
|
||||
|
||||
return new(transformer.AccessIdentifiers).
|
||||
WithSelfID(t.obj.GetID()), nil
|
||||
WithSelfID(t.obj.ID()), nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue