Browse Source

Fix alert server curator health check not work (#10111)

(cherry picked from commit 844ae42ee4)
3.0.0/version-upgrade
旺阳 2 years ago committed by Jiajie Zhong
parent
commit
4c62ee76e4
  1. 2
      dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java

2
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

Loading…
Cancel
Save