forked from TrueCloudLab/frostfs-sdk-go
[#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:
parent
b81122740a
commit
68b0440c62
1 changed files with 2 additions and 2 deletions
|
@ -86,9 +86,9 @@ func (c *Client) Dial(prm PrmDial) error {
|
||||||
)...)
|
)...)
|
||||||
|
|
||||||
// TODO: (neofs-api-go#382) perform generic dial stage of the client.Client
|
// 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.
|
// Close closes underlying connection to the NeoFS server. Implements io.Closer.
|
||||||
|
|
Loading…
Reference in a new issue