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
|
@ -81,7 +81,7 @@ func (p *streamer) switchToObject(id *object.ID) error {
|
|||
}
|
||||
|
||||
// get container to read payload range
|
||||
cnr, err := p.cnrSrc.Get(p.prm.addr.GetContainerID())
|
||||
cnr, err := p.cnrSrc.Get(p.prm.addr.ContainerID())
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "(%T) could not get container by ID", p)
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ func (p *streamer) start() {
|
|||
defer close(p.ch)
|
||||
|
||||
objAddr := object.NewAddress()
|
||||
objAddr.SetContainerID(p.prm.addr.GetContainerID())
|
||||
objAddr.SetContainerID(p.prm.addr.ContainerID())
|
||||
|
||||
loop:
|
||||
for {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue