diff --git a/src/loci/formats/S3FileSystemStore.java b/src/loci/formats/S3FileSystemStore.java index 7ad06af..cad86d6 100644 --- a/src/loci/formats/S3FileSystemStore.java +++ b/src/loci/formats/S3FileSystemStore.java @@ -102,7 +102,6 @@ private void setupClient() { client = AmazonS3ClientBuilder.standard() .withEndpointConfiguration(new AwsClientBuilder.EndpointConfiguration(endpoint, "auto")) .withPathStyleAccessEnabled(true) - .withRegion(Regions.DEFAULT_REGION) // Ignored but required by the client .withCredentials(new AWSStaticCredentialsProvider(new AnonymousAWSCredentials())).build(); } catch (Exception e) { LOGGER.info("Exception caught while constructing S3 client");