Skip to content

Commit 509e6b0

Browse files
committed
fix: make _hashFunction readonly to address sonarcloud issue
1 parent b2b0d25 commit 509e6b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/src/AWS.Lambda.Powertools.Idempotency/IdempotencyOptionsBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class IdempotencyOptionsBuilder
4040
/// <summary>
4141
/// Default Hash function
4242
/// </summary>
43-
private string _hashFunction = "MD5";
43+
private readonly string _hashFunction = "MD5";
4444

4545
/// <summary>
4646
/// Response hook function

0 commit comments

Comments
 (0)