[#164] Do not return rpc.Balance error in Dial

Balance request should be replaced with more generic Dial()
call from neofs-api-go.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2022-03-14 12:53:32 +03:00 committed by LeL
parent b81122740a
commit 68b0440c62

View file

@ -86,9 +86,9 @@ func (c *Client) Dial(prm PrmDial) error {
)...)
// TODO: (neofs-api-go#382) perform generic dial stage of the client.Client
_, err := rpc.Balance(&c.c, new(v2accounting.BalanceRequest))
_, _ = rpc.Balance(&c.c, new(v2accounting.BalanceRequest))
return err
return nil
}
// Close closes underlying connection to the NeoFS server. Implements io.Closer.