This is an automated email from the ASF dual-hosted git repository.
kerwin pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 463fc76 [Fix-6809][dolphinscheduler-task-sql] Fix sql task can't send
alert (#7089)
463fc76 is described below
commit 463fc76bb7bf83d2826c680cc7531b102a7abe65
Author: 张俊杰 <[email protected]>
AuthorDate: Wed Dec 1 14:08:40 2021 +0800
[Fix-6809][dolphinscheduler-task-sql] Fix sql task can't send alert (#7089)
---
.../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);
}
/**