Merge pull request #12184 from ioito/hotfix/qx-qcloud-rds-database-sync

fix(region): qcloud database sync
This commit is contained in:
yunion-ci-robot
2021-09-10 19:16:27 +08:00
committed by GitHub
+1 -1
View File
@@ -90,7 +90,7 @@ func (rds *SMySQLInstance) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBIn
part[i].rds = rds
ret = append(ret, &part[i])
}
if len(ret) >= total {
if len(ret) >= total || len(part) == 0 {
break
}
}