Skip to content

Commit 4d9218c

Browse files
authored
Merge pull request #12 from ing-bank/fix/region
change default region
2 parents e88f799 + f95f078 commit 4d9218c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<groupId>com.ing.ranger</groupId>
2222
<artifactId>ranger-s3-plugin</artifactId>
23-
<version>v0.1.0</version>
23+
<version>v0.1.1</version>
2424

2525
<properties>
2626
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

src/main/java/com/ing/ranger/s3/client/S3Client.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public S3Client(Map<String, String> configs) throws Exception {
5757
this.endpoint = configs.get("endpoint");
5858
this.accessKey = configs.get("accesskey");
5959
this.secretKey = PasswordUtils.decryptPassword(configs.get("password"));
60-
this.awsRegion = configs.getOrDefault("region", "us-east-1");
60+
this.awsRegion = configs.getOrDefault("region", "eu-west-1");
6161

6262
if (this.endpoint == null || this.endpoint.isEmpty() || !this.endpoint.startsWith("http")) {
6363
logError("Incorrect value found for configuration `endpoint`. Please provide url in format http://host:port");

0 commit comments

Comments
 (0)