From 6b8fbe35273c0ed62340231e89cfdfab30ad488f Mon Sep 17 00:00:00 2001 From: yuemian <--list> Date: Wed, 4 Sep 2024 13:53:27 +0800 Subject: [PATCH] =?UTF-8?q?mysql=E5=90=8C=E6=AD=A5=E6=8A=A5=E9=94=99?= =?UTF-8?q?=EF=BC=8C=E5=85=88=E6=B3=A8=E9=87=8A=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugin/provider/common/TianyiLocationProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/provider/common/TianyiLocationProvider.java b/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/provider/common/TianyiLocationProvider.java index d5ffa97b..2040c0e8 100644 --- a/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/provider/common/TianyiLocationProvider.java +++ b/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/provider/common/TianyiLocationProvider.java @@ -222,7 +222,7 @@ public class TianyiLocationProvider extends TianyiProvider { log.info("获取物理机信息..."); TianyiPhysicalProvider physicalProvider = new TianyiPhysicalProvider(this.getButler()); GeneralResult> 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, "数据同步成功!");