From 7ae55bde033bf7a1e151e0cb582e47a20169cb39 Mon Sep 17 00:00:00 2001 From: lin Date: Thu, 23 Mar 2023 15:16:08 +0800 Subject: [PATCH] fix reload description --- .../dble/services/manager/response/ReloadConfig.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 b35bcff7a..517fb457b 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 @@ -148,7 +148,7 @@ public final class ReloadConfig { } if (!reloadResult) { packetResult.setSuccess(false); - packetResult.setErrorMsg("Reload config failure.The reason is reload interruputed by others,config should be reload"); + packetResult.setErrorMsg("Reload Failure.The reason is reload interruputed by others,config should be reload"); packetResult.setErrorCode(ErrorCode.ER_RELOAD_INTERRUPUTED); return; } @@ -202,7 +202,7 @@ public final class ReloadConfig { try { if (!ReloadManager.startReload(TRIGGER_TYPE_COMMAND, confStatus)) { packetResult.setSuccess(false); - packetResult.setErrorMsg("Reload config failure.The reason is reload status error ,other client or cluster may in reload"); + packetResult.setErrorMsg("Reload Failure.The reason is reload status error ,other client or cluster may in reload"); packetResult.setErrorCode(ErrorCode.ER_YES); return; } @@ -218,7 +218,7 @@ public final class ReloadConfig { return; } else if (!reloadResult) { packetResult.setSuccess(false); - packetResult.setErrorMsg("Reload config failure.The reason is reload interruputed by others,metadata should be reload"); + packetResult.setErrorMsg("Reload Failure.The reason is reload interruputed by others,metadata should be reload"); packetResult.setErrorCode(ErrorCode.ER_RELOAD_INTERRUPUTED); } } finally { @@ -229,7 +229,7 @@ public final class ReloadConfig { private static void writeErrorResult(ManagerService c, String errorMsg) { - String sb = "Reload config failure.The reason is " + errorMsg; + String sb = "Reload Failure.The reason is " + errorMsg; LOGGER.warn(sb); c.writeErrMessage(ErrorCode.ER_YES, sb); }