Skip to content

Commit aaadc81

Browse files
author
Alena Kastsiukavets
committed
Update S3 bucket notation from dash to dot
# Why is this change needed? S3 has deprecated dash notation in favor of dot # How does it address the issue? Use dot notation for s3 bucket names # How was this tested ? sudo ./install auto cr https://code.amazon.com/reviews/CR-20909126
1 parent 7fdda95 commit aaadc81

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ EOF
233233
elsif (region.split("-")[0] == 'cn')
234234
URI.parse("https://#{bucket}.s3.#{region}.amazonaws.com.cn/#{key}")
235235
else
236-
URI.parse("https://#{bucket}.s3-#{region}.amazonaws.com/#{key}")
236+
URI.parse("https://#{bucket}.s3.#{region}.amazonaws.com/#{key}")
237237
end
238238
end
239239

bin/update

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ EOF
305305
elsif (REGION.split("-")[0] == 'cn')
306306
URI.parse("https://#{BUCKET}.s3.#{REGION}.amazonaws.com.cn/#{key}")
307307
else
308-
URI.parse("https://#{BUCKET}.s3-#{REGION}.amazonaws.com/#{key}")
308+
URI.parse("https://#{BUCKET}.s3.#{REGION}.amazonaws.com/#{key}")
309309
end
310310
end
311311

0 commit comments

Comments
 (0)