This is an automated email from the ASF dual-hosted git repository.

kerwin pushed a commit to branch 2.0.1-release
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/2.0.1-release by this push:
     new 7ec4cb9  [2.0.1]Fix sql task send alert error (#7300)
7ec4cb9 is described below

commit 7ec4cb9dc30a22003d03f6ca6344172cce8f6283
Author: Kirs <[email protected]>
AuthorDate: Fri Dec 10 10:51:19 2021 +0800

    [2.0.1]Fix sql task send alert error (#7300)
---
 .../main/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/dolphinscheduler-task-plugin/dolphinscheduler-task-sql/src/main/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java
 
b/dolphinscheduler-task-plugin/dolphinscheduler-task-sql/src/main/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java
index 1b3a32c..1ec5a2c 100644
--- 
a/dolphinscheduler-task-plugin/dolphinscheduler-task-sql/src/main/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java
+++ 
b/dolphinscheduler-task-plugin/dolphinscheduler-task-sql/src/main/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java
@@ -289,6 +289,7 @@ public class SqlTask extends AbstractTaskExecutor {
         taskAlertInfo.setAlertGroupId(groupId);
         taskAlertInfo.setContent(content);
         taskAlertInfo.setTitle(title);
+        setTaskAlertInfo(taskAlertInfo);
     }
 
     /**

Reply via email to