Commit bdb5dc6
committed
Move to head bucket
When the bucket is in us-east-1, aws sdk v3 returns for getBucketLocation no value as it is null, aws sdk v2 returned an empty string moving to headBucket a region is always returned https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLocation.html1 parent 0b7737c commit bdb5dc6
File tree
2 files changed
+21
-5
lines changed- lib/plugins/aws/deploy/lib
- test/unit/lib/plugins/aws/deploy
2 files changed
+21
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 40 | + | |
| 41 | + | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
121 | 126 | | |
122 | 127 | | |
123 | 128 | | |
| |||
523 | 528 | | |
524 | 529 | | |
525 | 530 | | |
526 | | - | |
527 | 531 | | |
528 | 532 | | |
529 | 533 | | |
530 | 534 | | |
531 | 535 | | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
532 | 541 | | |
533 | 542 | | |
534 | 543 | | |
| |||
1206 | 1215 | | |
1207 | 1216 | | |
1208 | 1217 | | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
1209 | 1221 | | |
1210 | 1222 | | |
1211 | 1223 | | |
| |||
1242 | 1254 | | |
1243 | 1255 | | |
1244 | 1256 | | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
1245 | 1262 | | |
1246 | 1263 | | |
1247 | 1264 | | |
| |||
0 commit comments