Skip to content

Commit

Permalink
Added missing using
Browse files Browse the repository at this point in the history
Signed-off-by: Whit Waldo <[email protected]>
  • Loading branch information
WhitWaldo committed Jan 15, 2025
1 parent d65037e commit 2e22ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dapr.Client/DaprClientGrpc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,7 @@ public override async Task<ReadOnlyMemory<byte>> EncryptAsync(string vaultResour
ReadOnlyMemory<byte> plaintextBytes, string keyName, EncryptionOptions encryptionOptions,
CancellationToken cancellationToken = default)
{
var memoryStream = plaintextBytes.CreateMemoryStream(true);
using var memoryStream = plaintextBytes.CreateMemoryStream(true);

var encryptionResult =
await EncryptAsync(vaultResourceName, memoryStream, keyName, encryptionOptions, cancellationToken);
Expand Down

0 comments on commit 2e22ad9

Please sign in to comment.