Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
agnesgaroux committed Apr 12, 2024
1 parent cc6068d commit 6c1f455
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package weco.storage.transfer.fixtures

import software.amazon.awssdk.services.s3.S3AsyncClient
import software.amazon.awssdk.services.s3.internal.crt.S3CrtAsyncClient
import software.amazon.awssdk.transfer.s3.S3TransferManager
import weco.storage.fixtures.S3Fixtures

Expand All @@ -9,7 +10,7 @@ import java.net.URI
trait S3TransferManagerFixtures extends S3Fixtures {
def createS3TransferManagerWithEndpoint(endpoint: String): S3TransferManager = {
val s3AsyncClient =
S3AsyncClient.crtBuilder()
S3CrtAsyncClient.builder()
.credentialsProvider(s3Credentials)
.forcePathStyle(true)
.endpointOverride(new URI(endpoint))
Expand Down

0 comments on commit 6c1f455

Please sign in to comment.