Merge pull request #12186 from ioito/automated-cherry-pick-of-#12184-upstream-release-3.7

Automated cherry pick of #12184: fix(region): qcloud database sync
This commit is contained in:
yunion-ci-robot
2021-09-10 19:17:26 +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
}
}