未验证 提交 d217937d 编写于 作者: J JuFeng Li 提交者: GitHub

[Improvement][alert plugin]fix alert massage (#4880)


* fix alert massage
Co-authored-by: N李巨丰 <lijf@2345.com>
上级 73b2d5b7
......@@ -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());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册