We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91434f7 commit fc401abCopy full SHA for fc401ab
plugins/repository-s3/src/main/java/org/elasticsearch/repositories/s3/S3Service.java
@@ -112,7 +112,8 @@ AmazonS3 buildClient(final S3ClientSettings clientSettings) {
112
//
113
// We do this because directly constructing the client is deprecated (was already deprecated in 1.1.223 too)
114
// so this change removes that usage of a deprecated API.
115
- builder.withEndpointConfiguration(new AwsClientBuilder.EndpointConfiguration(endpoint, null));
+ builder.withEndpointConfiguration(new AwsClientBuilder.EndpointConfiguration(endpoint, null))
116
+ .withPathStyleAccessEnabled(true);
117
118
return builder.build();
119
}
0 commit comments