Skip to content

Commit

Permalink
change default region
Browse files Browse the repository at this point in the history
  • Loading branch information
kr7ysztof committed Nov 30, 2022
1 parent e88f799 commit f95f078
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<groupId>com.ing.ranger</groupId>
<artifactId>ranger-s3-plugin</artifactId>
<version>v0.1.0</version>
<version>v0.1.1</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/ing/ranger/s3/client/S3Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public S3Client(Map<String, String> configs) throws Exception {
this.endpoint = configs.get("endpoint");
this.accessKey = configs.get("accesskey");
this.secretKey = PasswordUtils.decryptPassword(configs.get("password"));
this.awsRegion = configs.getOrDefault("region", "us-east-1");
this.awsRegion = configs.getOrDefault("region", "eu-west-1");

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

0 comments on commit f95f078

Please sign in to comment.