Skip to content

Commit

Permalink
tmp 4
Browse files Browse the repository at this point in the history
  • Loading branch information
XmasApple committed Oct 10, 2023
1 parent 23d39cf commit 9fa0a1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Ydb.Sdk/src/Driver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,12 @@ private async Task<Status> DiscoverEndpoints()
var options = GetCallOptions(requestSettings, false);
options.Headers.Add(Metadata.RpcSdkInfoHeader, _sdkInfo);

_logger.LogInformation("3");
var response = await client.ListEndpointsAsync(
request: request,
options: options);

_logger.LogInformation("3");
_logger.LogInformation("4");
if (!response.Operation.Ready)
{
var error = "Unexpected non-ready endpoint discovery operation.";
Expand All @@ -199,7 +200,7 @@ private async Task<Status> DiscoverEndpoints()
_logger.LogWarning($"Unsuccessful endpoint discovery: {status}");
return status;
}
_logger.LogInformation("4");
_logger.LogInformation("5");

if (response.Operation.Result is null)
{
Expand Down

0 comments on commit 9fa0a1a

Please sign in to comment.