fix(region): qcloud database sync

This commit is contained in:
Qu Xuan
2021-09-10 18:30:44 +08:00
parent fe9f5fa4cc
commit 315054703c
+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
}
}