Modify as review.

pull/772/head
pandaapo 3 years ago
parent d9a39a3255
commit 836299fa44

@ -39,7 +39,7 @@ public class PolarisWebApplicationCheck implements ApplicationListener<Applicati
SpringApplication springApplication = event.getSpringApplication(); SpringApplication springApplication = event.getSpringApplication();
WebApplicationType webApplicationType = springApplication.getWebApplicationType(); WebApplicationType webApplicationType = springApplication.getWebApplicationType();
if (webApplicationType.equals(WebApplicationType.NONE)) { if (webApplicationType.equals(WebApplicationType.NONE)) {
LOGGER.info("This service instance will not be registered, because it is not a servlet-based or reactive web application."); LOGGER.warn("This service instance will not be registered, because it is not a servlet-based or reactive web application.");
} }
} }
} }

Loading…
Cancel
Save