From 68b0440c626fdd4f02e6a9e30db2fc94cfb2d6b1 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 14 Mar 2022 12:53:32 +0300 Subject: [PATCH] [#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 --- client/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client.go b/client/client.go index 04d8104..89684ce 100644 --- a/client/client.go +++ b/client/client.go @@ -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.