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); }