Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

Commit

Permalink
Merge pull request #138 from cwaltken-edrans/add_sao_paulo
Browse files Browse the repository at this point in the history
Add Sao Paulo region
  • Loading branch information
zeph authored Jun 26, 2017
2 parents 11aa43b + 4ba7869 commit 600a708
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ eu-west-1 ;Ireland
#ap-southeast-2 ;Tokio
#ap-northeast-1 ;Sydney
#ap-northeast-2 ;Seoul
#sa-east-1 ;Sao Paulo
[headers]
cache-control: no-cache
Expand Down
1 change: 1 addition & 0 deletions cli/config_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ eu-west-1 ;Ireland
;ap-southeast-2 ;Tokio
ap-northeast-1 ;Sydney
;ap-northeast-2 ;Seoul
;sa-east-1 ;Sao Paulo
[headers]
# These headers are used in the HTTP request header
Expand Down
1 change: 1 addition & 0 deletions cli/testdata/default.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ eu-west-1 ;Ireland
;ap-southeast-2 ;Tokio
ap-northeast-1 ;Sydney
;ap-northeast-2 ;Seoul
;sa-east-1 ;Sao Paulo

[headers]
# These headers are used in the HTTP request header
Expand Down
1 change: 1 addition & 0 deletions cli/testdata/test-config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ eu-west-1 ;Ireland
#ap-southeast-2 ;Tokio
#ap-northeast-1 ;Sydney
#ap-northeast-2 ;Seoul
#sa-east-1 ;Sao Paulo

[headers]
cache-control: no-cache
Expand Down
18 changes: 10 additions & 8 deletions goad/goad.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,16 @@ type TestConfig struct {
const nano = 1000000000

var supportedRegions = []string{
"us-east-1",
"us-west-2",
"eu-west-1",
"ap-northeast-1",
"eu-central-1",
"ap-northeast-2",
"ap-southeast-1",
"ap-southeast-2",
"us-east-1", // N. Virginia
"us-west-1", // N.California
"us-west-2", // Oregon
"eu-west-1", // Ireland
"eu-central-1", // Frankfurt
"ap-northeast-1", // Sydney
"ap-northeast-2", // Seoul
"ap-southeast-1", // Singapore
"ap-southeast-2", // Tokio
"sa-east-1", // Sao Paulo
}

// Test type
Expand Down

0 comments on commit 600a708

Please sign in to comment.