From f76c622d8c80eece81f103e0b56cc9db8a0bc726 Mon Sep 17 00:00:00 2001 From: jhaohai Date: Thu, 21 Apr 2016 11:51:34 +0800 Subject: [PATCH] add cn-north-1 to valid check Signed-off-by: jhaohai --- registry/storage/driver/s3-aws/s3.go | 1 + 1 file changed, 1 insertion(+) diff --git a/registry/storage/driver/s3-aws/s3.go b/registry/storage/driver/s3-aws/s3.go index f7facb615..bfaa6ba90 100644 --- a/registry/storage/driver/s3-aws/s3.go +++ b/registry/storage/driver/s3-aws/s3.go @@ -80,6 +80,7 @@ func init() { "ap-northeast-1", "ap-northeast-2", "sa-east-1", + "cn-north-1", } { validRegions[region] = struct{}{} }