From edbebd653ca95368a63cba154037a003d81851d4 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Tue, 31 Mar 2015 05:41:12 -0700 Subject: [PATCH] Fix S3 location handling for US classic --- cluster/aws/util.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cluster/aws/util.sh b/cluster/aws/util.sh index cc92ec119a0..a79d85a4415 100644 --- a/cluster/aws/util.sh +++ b/cluster/aws/util.sh @@ -238,8 +238,8 @@ function upload-server-tars() { local s3_bucket_location=$(aws --output text s3api get-bucket-location --bucket ${AWS_S3_BUCKET}) local s3_url_base=https://s3-${s3_bucket_location}.amazonaws.com - if [[ "${s3_bucket_location}" == "us-east-1" ]]; then - # us-east-1 does not follow the pattern + if [[ "${s3_bucket_location}" == "None" ]]; then + # "US Classic" does not follow the pattern s3_url_base=https://s3.amazonaws.com fi