Skip to content

Commit 9c61311

Browse files
authored
update regions (#342)
1 parent 4b04111 commit 9c61311

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

cmd/regioncheck/regioncheck.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"sync"
1515
)
1616

17-
// eq compares sorted string slices. Once we move to Golang 1.21, use slices.Equal instead.
17+
// eq compares sorted string slices. TODO: Once we move to Golang 1.21, use slices.Equal instead.
1818
func eq(f []string, s []string) bool {
1919
if len(f) != len(s) {
2020
return false

provider/providers.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ var AllProviders = []string{
4444
}
4545

4646
var ProviderRegions = map[string][]string{
47-
"digitalocean": {"ams3", "blr1", "fra1", "nyc3", "sfo2", "sfo3", "sgp1", "syd1"},
47+
"digitalocean": {"ams3", "blr1", "fra1", "lon1", "nyc3", "sfo2", "sfo3", "sgp1", "syd1"},
4848
"dreamhost": {"us-east-1"},
49-
"linode": {"ap-south-1", "eu-central-1", "fr-par-1", "se-sto-1", "us-east-1", "us-iad-1", "us-ord-1", "us-southeast-1"},
50-
"scaleway": {"fr-par", "nl-ams", "pl-waw"},
49+
"linode": {"ap-south-1", "br-gru-1", "es-mad-1", "eu-central-1", "fr-par-1", "id-cgk-1", "in-maa-1",
50+
"it-mil-1", "jp-osa-1", "nl-ams-1", "se-sto-1", "us-east-1", "us-iad-1", "us-lax-1", "us-mia-1",
51+
"us-ord-1", "us-sea-1", "us-southeast-1"},
52+
"scaleway": {"fr-par", "nl-ams", "pl-waw"},
5153
}
5254

5355
func NewProvider(name string) (StorageProvider, error) {

0 commit comments

Comments
 (0)