forked from TrueCloudLab/frostfs-node
[#265] node: Fix after SDK & API-Go version up
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
a358255c1b
commit
3d43b0f7f9
9 changed files with 18 additions and 18 deletions
|
@ -46,7 +46,7 @@ func (f *requestForwarder) forwardRequest(ctx context.Context, addr network.Addr
|
|||
}
|
||||
|
||||
var searchStream *rpc.SearchResponseReader
|
||||
err = c.RawForAddress(addr, func(cli *rpcclient.Client) error {
|
||||
err = c.RawForAddress(ctx, addr, func(cli *rpcclient.Client) error {
|
||||
searchStream, err = rpc.SearchObjects(cli, f.Request, rpcclient.WithContext(ctx))
|
||||
return err
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue