Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillKurdyukov committed Aug 14, 2024
1 parent 9ba3fac commit d1f80ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ydb.Sdk/src/Ado/YdbException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public YdbException(Status status) : base(status.ToString())
{
Code = status.StatusCode;
var policy = RetrySettings.DefaultInstance.GetRetryRule(status.StatusCode).Policy;

IsTransient = policy == RetryPolicy.Unconditional;
IsTransientWhenIdempotent = policy != RetryPolicy.None;
// TODO: Add SQLSTATE message with order with https://en.wikipedia.org/wiki/SQLSTATE
Expand Down

0 comments on commit d1f80ae

Please sign in to comment.