mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #10714 from ioito/hotfix/qx-opentack-cloudprovider-health-status
fix: openstack health should be normal
This commit is contained in:
@@ -145,6 +145,8 @@ func (cli *SOpenStackClient) GetSubAccounts() ([]cloudprovider.SSubAccount, erro
|
||||
subAccount := cloudprovider.SSubAccount{
|
||||
Account: fmt.Sprintf("%s/%s", cli.project, cli.username),
|
||||
Name: cli.cpcfg.Name,
|
||||
|
||||
HealthStatus: api.CLOUD_PROVIDER_HEALTH_NORMAL,
|
||||
}
|
||||
if len(cli.domainName) > 0 {
|
||||
subAccount.Account = fmt.Sprintf("%s/%s", subAccount.Account, cli.domainName)
|
||||
|
||||
Reference in New Issue
Block a user