This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new d217937 [Improvement][alert plugin]fix alert massage (#4880)
d217937 is described below
commit d217937de3c876c2f1d44cd05eeb266159111b1e
Author: JuFeng Li <[email protected]>
AuthorDate: Fri Feb 26 10:03:32 2021 +0800
[Improvement][alert plugin]fix alert massage (#4880)
* fix alert massage
Co-authored-by: 李巨丰 <[email protected]>
---
.../apache/dolphinscheduler/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 df1cbcc..af0c276 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<String, String> 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());
}