From a26f8fde143b5118e77147c3e9f311aa1ec8e3b2 Mon Sep 17 00:00:00 2001 From: Malhar Khimsaria <96malhar@gmail.com> Date: Wed, 21 Aug 2024 09:10:23 -0700 Subject: [PATCH] Fix typos --- .../Custom/DocumentModel/DocumentTransactWrite.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/src/Services/DynamoDBv2/Custom/DocumentModel/DocumentTransactWrite.cs b/sdk/src/Services/DynamoDBv2/Custom/DocumentModel/DocumentTransactWrite.cs index 08cfc6d75600..3ec32bd4c5b8 100644 --- a/sdk/src/Services/DynamoDBv2/Custom/DocumentModel/DocumentTransactWrite.cs +++ b/sdk/src/Services/DynamoDBv2/Custom/DocumentModel/DocumentTransactWrite.cs @@ -607,7 +607,7 @@ internal void ExecuteHelper() try { GetMultiTransactWrite().WriteItems(); - var errMsg = $"All transactionParts must be of type {nameof(DocumentTransactWrite)}"; + var errMsg = $"All transaction parts must be of type {nameof(DocumentTransactWrite)}"; docTransactionParts = TransactionParts.Select(x => x as DocumentTransactWrite ?? throw new InvalidOperationException(errMsg)).ToList(); } finally @@ -627,7 +627,7 @@ internal async Task ExecuteHelperAsync(CancellationToken cancellationToken) try { await GetMultiTransactWrite().WriteItemsAsync(cancellationToken).ConfigureAwait(false); - var errMsg = $"All transactionParts must be of type {nameof(DocumentTransactWrite)}"; + var errMsg = $"All transaction parts must be of type {nameof(DocumentTransactWrite)}"; docTransactionParts = TransactionParts.Select(x => x as DocumentTransactWrite ?? throw new InvalidOperationException(errMsg)).ToList(); } finally @@ -643,7 +643,7 @@ internal async Task ExecuteHelperAsync(CancellationToken cancellationToken) private MultiTransactWrite GetMultiTransactWrite() { - var errMsg = $"All transactionParts must be of type {nameof(DocumentTransactWrite)}"; + var errMsg = $"All transaction parts must be of type {nameof(DocumentTransactWrite)}"; return new MultiTransactWrite { Items = TransactionParts.SelectMany(x =>