Skip to content

Commit

Permalink
Fix checker
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillKurdyukov committed Mar 6, 2024
1 parent ccb265d commit 1ef19bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Ydb.Sdk/src/Driver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public async Task Initialize()
}

_logger.LogInformation("Started initial endpoint discovery");

for (var i = 0; i < _config.AttemptDiscovery; i++)
{
try
Expand All @@ -91,7 +91,7 @@ public async Task Initialize()
if (status.IsSuccess)
{
_ = Task.Run(PeriodicDiscovery);

return;
}

Expand All @@ -102,7 +102,7 @@ public async Task Initialize()
_logger.LogCritical($"RPC error during initial endpoint discovery: {e.Status}");
}
}

throw new InitializationFailureException("Error during initial endpoint discovery");
}

Expand Down

0 comments on commit 1ef19bc

Please sign in to comment.