[#270] client: Drop TODO about dial
Some checks failed
DCO / DCO (pull_request) Successful in 40s
Tests and linters / Tests (pull_request) Failing after 53s
Tests and linters / Lint (pull_request) Successful in 1m53s

Since `grpc.NewClient` method is now being used, a RPC call must be made
to actually establish the connection.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2024-09-16 14:46:07 +03:00
parent 3e455777fd
commit cdcb18fcee

View file

@ -98,7 +98,6 @@ func (c *Client) Dial(ctx context.Context, prm PrmDial) error {
c.setFrostFSAPIServer((*coreServer)(&c.c)) c.setFrostFSAPIServer((*coreServer)(&c.c))
// TODO: (neofs-api-go#382) perform generic dial stage of the client.Client
_, err := rpc.Balance(&c.c, new(v2accounting.BalanceRequest), _, err := rpc.Balance(&c.c, new(v2accounting.BalanceRequest),
client.WithContext(ctx), client.WithContext(ctx),
) )