You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/05/23 07:01:05 UTC
[dolphinscheduler] 16/33: Fix alert server curator health check not work (#10111)
This is an automated email from the ASF dual-hosted git repository.
zhongjiajie pushed a commit to branch 3.0.0-beta-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
commit 4c62ee76e434c644411180f74ab30f2bbbdc5de5
Author: 旺阳 <wa...@lqwang.net>
AuthorDate: Thu May 19 10:51:37 2022 +0800
Fix alert server curator health check not work (#10111)
(cherry picked from commit 844ae42ee4ba2b2423906891c5dba102aa89a0e3)
---
.../src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java
index 1e17afefd1..ee9d5b3f62 100644
--- a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java
+++ b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java
@@ -63,7 +63,7 @@ public class AlertServer implements Closeable {
*/
public static void main(String[] args) {
Thread.currentThread().setName(Constants.THREAD_NAME_ALERT_SERVER);
- new SpringApplicationBuilder(AlertServer.class).web(WebApplicationType.NONE).run(args);
+ new SpringApplicationBuilder(AlertServer.class).run(args);
}
@EventListener