From 72e288bf267c4d266aed269d0014b789792b671d Mon Sep 17 00:00:00 2001 From: Gabriel Ciuloaica Date: Thu, 12 Sep 2019 17:00:27 +0300 Subject: [PATCH] allow s3 like storage provider to keep the remote configuration --- .../main/java/com/netflix/exhibitor/core/s3/S3ClientImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/exhibitor-core/src/main/java/com/netflix/exhibitor/core/s3/S3ClientImpl.java b/exhibitor-core/src/main/java/com/netflix/exhibitor/core/s3/S3ClientImpl.java index 02392628..3525dc84 100644 --- a/exhibitor-core/src/main/java/com/netflix/exhibitor/core/s3/S3ClientImpl.java +++ b/exhibitor-core/src/main/java/com/netflix/exhibitor/core/s3/S3ClientImpl.java @@ -286,6 +286,10 @@ else if ( basicAWSCredentials != null ) String endpoint = ENDPOINT_SPEC.replace("$REGION$", fixedRegion); localClient.setEndpoint(endpoint); log.info("Setting S3 endpoint to: " + endpoint); + } else + { + localClient.setEndpoint(ENDPOINT_SPEC); + log.info("Setting S3 endpoint to: " + ENDPOINT_SPEC); } return localClient;