Update src/main/java/org/elasticsearch/gateway/s3/S3Gateway.java

This commit is contained in:
Mark Gallop 2012-11-26 16:02:54 +08:00 committed by Shay Banon
parent f9b11e2422
commit f1297eec81
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ public class S3Gateway extends BlobStoreGateway {
region = "ap-southeast-1"; region = "ap-southeast-1";
} else if ("ap-southeast-1".equals(regionSetting.toLowerCase())) { } else if ("ap-southeast-1".equals(regionSetting.toLowerCase())) {
region = "ap-southeast-1"; region = "ap-southeast-1";
} else if ("ap-southeast-2".equals(regionSetting.toLowerCase())) {
region = "ap-southeast-2";
} else if ("eu-west".equals(regionSetting.toLowerCase())) { } else if ("eu-west".equals(regionSetting.toLowerCase())) {
region = "EU"; region = "EU";
} else if ("eu-west-1".equals(regionSetting.toLowerCase())) { } else if ("eu-west-1".equals(regionSetting.toLowerCase())) {