From 463fc76bb7bf83d2826c680cc7531b102a7abe65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BF=8A=E6=9D=B0?= <545245855@qq.com> Date: Wed, 1 Dec 2021 14:08:40 +0800 Subject: [PATCH] [Fix-6809][dolphinscheduler-task-sql] Fix sql task can't send alert (#7089) --- .../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 1b3a32c679..1ec5a2ccc6 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); } /**