mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-24 23:41:52 +08:00
fix(region): create/update aliyun account bugfix
This commit is contained in:
@@ -183,7 +183,7 @@ func validateClientCloudenv(client *aliyun.SAliyunClient) error {
|
||||
|
||||
isFinanceAccount := false
|
||||
for i := range regions {
|
||||
if strings.Contains(regions[i].GetName(), "-finance") {
|
||||
if strings.Contains(regions[i].GetId(), "-finance") {
|
||||
isFinanceAccount = true
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user