Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillKurdyukov committed Aug 15, 2024
1 parent fb40322 commit c40ff8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slo/src/AdoNet/SloContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected override async Task Create(YdbDataSource client, string createTableSql
return await ydbCommand.ExecuteScalarAsync();
}, context);

return (policyResult.Context.TryGetValue("RetryCount", out var countAttempts) ? (int)countAttempts : 0,
return (policyResult.Context.TryGetValue("RetryCount", out var countAttempts) ? (int)countAttempts : 1,
((YdbException)policyResult.FinalException)?.Code ?? StatusCode.Success, policyResult.Result);
}

Expand Down

0 comments on commit c40ff8d

Please sign in to comment.