diff --git a/cmd/regioncheck/regioncheck.go b/cmd/regioncheck/regioncheck.go index 86b4de8..bcd2238 100644 --- a/cmd/regioncheck/regioncheck.go +++ b/cmd/regioncheck/regioncheck.go @@ -14,7 +14,7 @@ import ( "sync" ) -// eq compares sorted string slices. Once we move to Golang 1.21, use slices.Equal instead. +// eq compares sorted string slices. TODO: Once we move to Golang 1.21, use slices.Equal instead. func eq(f []string, s []string) bool { if len(f) != len(s) { return false diff --git a/provider/providers.go b/provider/providers.go index 97507c8..4d5c14f 100644 --- a/provider/providers.go +++ b/provider/providers.go @@ -44,10 +44,12 @@ var AllProviders = []string{ } var ProviderRegions = map[string][]string{ - "digitalocean": {"ams3", "blr1", "fra1", "nyc3", "sfo2", "sfo3", "sgp1", "syd1"}, + "digitalocean": {"ams3", "blr1", "fra1", "lon1", "nyc3", "sfo2", "sfo3", "sgp1", "syd1"}, "dreamhost": {"us-east-1"}, - "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"}, - "scaleway": {"fr-par", "nl-ams", "pl-waw"}, + "linode": {"ap-south-1", "br-gru-1", "es-mad-1", "eu-central-1", "fr-par-1", "id-cgk-1", "in-maa-1", + "it-mil-1", "jp-osa-1", "nl-ams-1", "se-sto-1", "us-east-1", "us-iad-1", "us-lax-1", "us-mia-1", + "us-ord-1", "us-sea-1", "us-southeast-1"}, + "scaleway": {"fr-par", "nl-ams", "pl-waw"}, } func NewProvider(name string) (StorageProvider, error) {