From d217937de3c876c2f1d44cd05eeb266159111b1e Mon Sep 17 00:00:00 2001 From: JuFeng Li <920347627@qq.com> Date: Fri, 26 Feb 2021 10:03:32 +0800 Subject: [PATCH] [Improvement][alert plugin]fix alert massage (#4880) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix alert massage Co-authored-by: 李巨丰 --- .../plugin/alert/script/ScriptAlertChannel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptAlertChannel.java b/dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptAlertChannel.java index df1cbcc28e..af0c27615f 100644 --- a/dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptAlertChannel.java +++ b/dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptAlertChannel.java @@ -34,7 +34,7 @@ public class ScriptAlertChannel implements AlertChannel { AlertData alertData = alertinfo.getAlertData(); Map paramsMap = alertinfo.getAlertParams(); if (null == paramsMap) { - return new AlertResult("false", "ding talk params is null"); + return new AlertResult("false", "script params is null"); } return new ScriptSender(paramsMap).sendScriptAlert(alertData.getTitle(),alertData.getContent()); }