From 3342e4e1d3c13e6f65833b1ef1f3bda1a0eac1f1 Mon Sep 17 00:00:00 2001 From: ThemeZ Date: Thu, 26 Nov 2015 11:37:28 +0800 Subject: [PATCH] Correct s3 url base for region "cn-north-1" --- cluster/aws/util.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cluster/aws/util.sh b/cluster/aws/util.sh index 0c3f3a3ca85..df5d74a7077 100755 --- a/cluster/aws/util.sh +++ b/cluster/aws/util.sh @@ -541,6 +541,8 @@ function upload-server-tars() { # "US Classic" does not follow the pattern s3_url_base=https://s3.amazonaws.com s3_bucket_location=us-east-1 + elif [[ "${s3_bucket_location}" == "cn-north-1" ]]; then + s3_url_base=https://s3.cn-north-1.amazonaws.com.cn fi local -r staging_path="devel"