Skip to content

Commit

Permalink
fix: Pass logger to TxControl.ToProto
Browse files Browse the repository at this point in the history
  • Loading branch information
LipatovAlexander committed Mar 16, 2024
1 parent 1887e37 commit 8d1257c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Ydb.Sdk/src/Services/Table/ExecuteDataQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public async Task<ExecuteDataQueryResponse> ExecuteDataQuery(
{
OperationParams = MakeOperationParams(settings),
SessionId = Id,
TxControl = txControl.ToProto(),
TxControl = txControl.ToProto(Logger),
Query = new Ydb.Table.Query
{
YqlText = query
Expand Down
2 changes: 1 addition & 1 deletion src/Ydb.Sdk/src/Services/Table/Transaction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public TxControl Commit()
return this;
}

internal TransactionControl ToProto(ILogger? logger = null)
internal TransactionControl ToProto(ILogger logger)
{
if (_txNum != null)
{
Expand Down

0 comments on commit 8d1257c

Please sign in to comment.