mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #8911 from ioito/hotfix/qx-apsara-fix
fix(region): apsara account fix
This commit is contained in:
@@ -385,13 +385,13 @@ func (self *SApsaraClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
|
||||
}
|
||||
subAccount := cloudprovider.SSubAccount{}
|
||||
subAccount.Name = self.cpcfg.Name
|
||||
subAccount.Account = self.cpcfg.EcsEndpoint
|
||||
subAccount.Account = self.accessKey
|
||||
subAccount.HealthStatus = api.CLOUD_PROVIDER_HEALTH_NORMAL
|
||||
return []cloudprovider.SSubAccount{subAccount}, nil
|
||||
}
|
||||
|
||||
func (self *SApsaraClient) GetAccountId() string {
|
||||
return self.ownerId
|
||||
return self.cpcfg.EcsEndpoint
|
||||
}
|
||||
|
||||
func (self *SApsaraClient) GetIRegions() []cloudprovider.ICloudRegion {
|
||||
|
||||
Reference in New Issue
Block a user