From 9e510d67f5ea7f8814e0c6e54da5649ef84f217e Mon Sep 17 00:00:00 2001 From: Michal Fojtik Date: Wed, 11 Jan 2017 22:22:41 +0100 Subject: [PATCH] Add more regions to registry S3 storage driver Namely adding ca-central-1, ap-south-1 and eu-west-1. Signed-off-by: Michal Fojtik --- registry/storage/driver/s3-aws/s3.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/registry/storage/driver/s3-aws/s3.go b/registry/storage/driver/s3-aws/s3.go index c9d19c46..872b8938 100644 --- a/registry/storage/driver/s3-aws/s3.go +++ b/registry/storage/driver/s3-aws/s3.go @@ -107,7 +107,9 @@ func init() { "us-west-1", "us-west-2", "eu-west-1", + "eu-west-2", "eu-central-1", + "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", @@ -115,6 +117,7 @@ func init() { "sa-east-1", "cn-north-1", "us-gov-west-1", + "ca-central-1", } { validRegions[region] = struct{}{} }