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

This commit is contained in:
旺阳 2022-05-19 10:51:37 +08:00 committed by GitHub
parent 9ab3bebc90
commit 844ae42ee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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