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

* fix alert massage

Co-authored-by: 李巨丰 <lijf@2345.com>
This commit is contained in:
JuFeng Li 2021-02-26 10:03:32 +08:00 committed by GitHub
parent 73b2d5b7fc
commit d217937de3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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