From 3f538cac900254ae5ab287d5c7ae3fd0d42b6ae2 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 f7facb61..bfaa6ba9 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{}{} }