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

(cherry picked from commit 844ae42ee4)
This commit is contained in:
旺阳 2022-05-19 10:51:37 +08:00 committed by Jiajie Zhong
parent 2c290b2f2b
commit 4c62ee76e4
1 changed files with 1 additions and 1 deletions

View File

@ -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