From 2beedef9b85c70498dc699f8544be8399a776626 Mon Sep 17 00:00:00 2001 From: pandaapo <35672972+pandaapo@users.noreply.github.com> Date: Wed, 14 Dec 2022 09:46:33 +0800 Subject: [PATCH] Standardize the name of method to create bean. (#779) --- CHANGELOG.md | 1 + .../registry/PolarisServiceRegistryAutoConfiguration.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 419029f30..c1e356287 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,3 +21,4 @@ - [Optimize: change RouteArgument.buildCustom to RouteArgument.fromLabel](https://github.com/Tencent/spring-cloud-tencent/pull/749) - [Optimize: get service instances by Flux.blockLast() to resolve concurrent problem](https://github.com/Tencent/spring-cloud-tencent/pull/764) - [Fix issue: prompt no registration if web dependence was not imported.](https://github.com/Tencent/spring-cloud-tencent/pull/772) +- [Standardize the name of method to create bean.](https://github.com/Tencent/spring-cloud-tencent/pull/779) diff --git a/spring-cloud-starter-tencent-polaris-discovery/src/main/java/com/tencent/cloud/polaris/registry/PolarisServiceRegistryAutoConfiguration.java b/spring-cloud-starter-tencent-polaris-discovery/src/main/java/com/tencent/cloud/polaris/registry/PolarisServiceRegistryAutoConfiguration.java index 41c69e8e6..f232a88ed 100644 --- a/spring-cloud-starter-tencent-polaris-discovery/src/main/java/com/tencent/cloud/polaris/registry/PolarisServiceRegistryAutoConfiguration.java +++ b/spring-cloud-starter-tencent-polaris-discovery/src/main/java/com/tencent/cloud/polaris/registry/PolarisServiceRegistryAutoConfiguration.java @@ -74,7 +74,7 @@ public class PolarisServiceRegistryAutoConfiguration { } @Bean - public PolarisWebApplicationCheck polarisApplicationReady() { + public PolarisWebApplicationCheck polarisWebApplicationCheck() { return new PolarisWebApplicationCheck(); } }