Skip to content

Commit

Permalink
Fix options method name
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsmith committed Nov 26, 2024
1 parent b00cec3 commit 1d7fb76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Foundatio.AWS/Storage/S3FileStorageOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ public S3FileStorageOptionsBuilder CannedACL(string cannedAcl)
return this;
}

public S3FileStorageOptionsBuilder AllowInMemoryStreaming(bool allowInMemoryStreaming = true)
public S3FileStorageOptionsBuilder AllowInMemoryStream(bool allowInMemoryStream = true)
{
Target.AllowInMemoryStream = allowInMemoryStreaming;
Target.AllowInMemoryStream = allowInMemoryStream;
return this;
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Foundatio.AWS.Tests/Storage/S3FileStorageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected override IFileStorage GetStorage()
{
return new S3FileStorage(
o => o.ConnectionString($"serviceurl=http://localhost:4566;bucket={BUCKET_NAME};AccessKey=xxx;SecretKey=xxx")
.LoggerFactory(Log).AllowInMemoryStreaming());
.LoggerFactory(Log).AllowInMemoryStream());
}

[Fact]
Expand Down

0 comments on commit 1d7fb76

Please sign in to comment.