|
@@ -107,7 +107,8 @@ class S3Service extends AbstractComponent implements Closeable {
|
|
|
//
|
|
|
// We do this because directly constructing the client is deprecated (was already deprecated in 1.1.223 too)
|
|
|
// so this change removes that usage of a deprecated API.
|
|
|
- builder.withEndpointConfiguration(new AwsClientBuilder.EndpointConfiguration(endpoint, null));
|
|
|
+ builder.withEndpointConfiguration(new AwsClientBuilder.EndpointConfiguration(endpoint, null))
|
|
|
+ .enablePathStyleAccess();
|
|
|
|
|
|
return builder.build();
|
|
|
}
|