Browse Source

Remove `not use web service` comment in alert server (#11819)

3.1.0-release
Wenjun Ruan 2 years ago committed by caishunfeng
parent
commit
1aba077fb8
  1. 5
      dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java

5
dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java

@ -59,11 +59,6 @@ public class AlertServer implements Closeable {
this.alertConfig = alertConfig; this.alertConfig = alertConfig;
} }
/**
* alert server startup, not use web service
*
* @param args arguments
*/
public static void main(String[] args) { public static void main(String[] args) {
Thread.currentThread().setName(Constants.THREAD_NAME_ALERT_SERVER); Thread.currentThread().setName(Constants.THREAD_NAME_ALERT_SERVER);
new SpringApplicationBuilder(AlertServer.class).run(args); new SpringApplicationBuilder(AlertServer.class).run(args);

Loading…
Cancel
Save