mysql同步报错,先注释掉
parent
e373e7f55f
commit
6b8fbe3527
|
@ -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, "数据同步成功!");
|
||||
|
|
Loading…
Reference in New Issue