From 16a19b47079046202111d117994f4e87439cea22 Mon Sep 17 00:00:00 2001 From: Michal Fojtik Date: Wed, 11 Jan 2017 22:27:07 +0100 Subject: [PATCH] UPSTREAM: docker/distribution: 2140: Add 'ca-central-1' region for registry S3 storage driver Signed-off-by: Michal Fojtik --- .../docker/distribution/registry/storage/driver/s3-aws/s3.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vendor/github.com/docker/distribution/registry/storage/driver/s3-aws/s3.go b/vendor/github.com/docker/distribution/registry/storage/driver/s3-aws/s3.go index c9d19c46c962..872b89386b7b 100644 --- a/vendor/github.com/docker/distribution/registry/storage/driver/s3-aws/s3.go +++ b/vendor/github.com/docker/distribution/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{}{} }