mysql同步报错,先注释掉

iida
yuemian 2024-09-04 13:53:27 +08:00
parent e373e7f55f
commit 6b8fbe3527
1 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ public class TianyiLocationProvider extends TianyiProvider {
log.info("获取物理机信息...");
TianyiPhysicalProvider physicalProvider = new TianyiPhysicalProvider(this.getButler());
GeneralResult<List<PhysicalServerModel>> physicalResult = physicalProvider.list();
log.info("同步物理机结果:{}", physicalResult.isSuccess());
log.info("同步物理机结果:{}", JSON.toJSONString(physicalResult));
if(physicalResult.isSuccess()){
syncModel.setPhysicalModels(physicalResult.getData());
}
@ -369,7 +369,7 @@ public class TianyiLocationProvider extends TianyiProvider {
}
log.info("同步资源池信息:{}",poolModelGeneralResult.isSuccess());
syncRds(syncModel);
//syncRds(syncModel);
log.info("end sync ... current region is " + this.getRegionId());
return new GeneralResult(true, syncModel, "数据同步成功!");