Skip to content

Commit d3836c4

Browse files
committed
Log when we default the scheme
1 parent d3f7594 commit d3836c4

File tree

1 file changed

+1
-0
lines changed
  • modules/repository-s3/src/main/java/org/elasticsearch/repositories/s3

1 file changed

+1
-0
lines changed

modules/repository-s3/src/main/java/org/elasticsearch/repositories/s3/S3Service.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ protected S3ClientBuilder buildClientBuilder(S3ClientSettings clientSettings, Sd
259259
// Default protocol to https if not specified
260260
// See https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/client-configuration.html#client-config-other-diffs
261261
endpoint = "https://" + endpoint;
262+
LOGGER.info("Defaulting to https for endpoint with no scheme [{}]", clientSettings.endpoint);
262263
}
263264
s3clientBuilder.endpointOverride(URI.create(endpoint));
264265
}

0 commit comments

Comments
 (0)