From d1f80aed3f365416cbbd9e7dd28bc480e1a03330 Mon Sep 17 00:00:00 2001 From: KirillKurdyukov Date: Wed, 14 Aug 2024 17:26:26 +0300 Subject: [PATCH] fix linter --- src/Ydb.Sdk/src/Ado/YdbException.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ydb.Sdk/src/Ado/YdbException.cs b/src/Ydb.Sdk/src/Ado/YdbException.cs index 8426b203..704c5b1b 100644 --- a/src/Ydb.Sdk/src/Ado/YdbException.cs +++ b/src/Ydb.Sdk/src/Ado/YdbException.cs @@ -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