From 19d7677e3d5b69db90546e2c56f516fddd03c606 Mon Sep 17 00:00:00 2001 From: dcy Date: Sun, 28 Apr 2024 10:16:25 +0800 Subject: [PATCH] inner-2383-supplement:fix ci --- src/main/java/com/actiontech/dble/config/ConfigInitializer.java | 2 -- .../actiontech/dble/services/manager/response/ReloadConfig.java | 1 - 2 files changed, 3 deletions(-) diff --git a/src/main/java/com/actiontech/dble/config/ConfigInitializer.java b/src/main/java/com/actiontech/dble/config/ConfigInitializer.java index e8be0cbd36..48dfdac0a8 100644 --- a/src/main/java/com/actiontech/dble/config/ConfigInitializer.java +++ b/src/main/java/com/actiontech/dble/config/ConfigInitializer.java @@ -249,8 +249,6 @@ public void testConnection() { ds.setTestConnSuccess(true); LOGGER.info("dbGroup[" + ds.getDbGroupConfig().getName() + "] instance " + ds.getName() + " is skiped,because of option skipTestConOnUpdate"); continue; - } else { - } } if (!testDbInstance(dbGroupName, ds, schemaList)) { diff --git a/src/main/java/com/actiontech/dble/services/manager/response/ReloadConfig.java b/src/main/java/com/actiontech/dble/services/manager/response/ReloadConfig.java index be5a8e6fce..ad092170c8 100644 --- a/src/main/java/com/actiontech/dble/services/manager/response/ReloadConfig.java +++ b/src/main/java/com/actiontech/dble/services/manager/response/ReloadConfig.java @@ -39,7 +39,6 @@ import com.actiontech.dble.singleton.CronScheduler; import com.actiontech.dble.singleton.FrontendUserManager; import com.actiontech.dble.singleton.TraceManager; -import com.actiontech.dble.util.StringUtil; import com.google.gson.Gson; import org.slf4j.Logger; import org.slf4j.LoggerFactory;