forked from TrueCloudLab/distribution
Add more regions to registry S3 storage driver
Namely adding ca-central-1, ap-south-1 and eu-west-1. Signed-off-by: Michal Fojtik <mfojtik@redhat.com>
This commit is contained in:
parent
69c7f303d5
commit
9e510d67f5
1 changed files with 3 additions and 0 deletions
|
@ -107,7 +107,9 @@ func init() {
|
|||
"us-west-1",
|
||||
"us-west-2",
|
||||
"eu-west-1",
|
||||
"eu-west-2",
|
||||
"eu-central-1",
|
||||
"ap-south-1",
|
||||
"ap-southeast-1",
|
||||
"ap-southeast-2",
|
||||
"ap-northeast-1",
|
||||
|
@ -115,6 +117,7 @@ func init() {
|
|||
"sa-east-1",
|
||||
"cn-north-1",
|
||||
"us-gov-west-1",
|
||||
"ca-central-1",
|
||||
} {
|
||||
validRegions[region] = struct{}{}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue