Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmarsuhail committed Mar 7, 2025
1 parent f72e64a commit cab8a41
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ private S3AsyncClient createS3CrtAsyncClient(URI uri, S3ClientCreationParameters
AWSRegionEndpointInformation regionEndpointInformation =
AWSRegionEndpointResolver.getEndpointRegionResolution(parameters, conf);

if (regionEndpointInformation.getRegion() == null) {
if (regionEndpointInformation.getRegion() != null) {
s3CrtAsyncClientBuilder.region(regionEndpointInformation.getRegion());
}

if (regionEndpointInformation.getEndpoint() == null) {
if (regionEndpointInformation.getEndpoint() != null) {
s3CrtAsyncClientBuilder.endpointOverride(regionEndpointInformation.getEndpoint());
}

Expand Down

0 comments on commit cab8a41

Please sign in to comment.