From f56e90cf4d2ff68d4602439d27ecd6cc0274a7f8 Mon Sep 17 00:00:00 2001 From: weihubeats Date: Tue, 2 Aug 2022 11:35:57 +0800 Subject: [PATCH] add change log (#483) --- CHANGELOG.md | 1 + .../tencent/cloud/polaris/registry/PolarisRegistration.java | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91d97e14f..0ed0eaf78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,3 +10,4 @@ - [Feature: Add disposable metadata transfer support](https://github.com/Tencent/spring-cloud-tencent/pull/459) - [docs:update mvnw.](https://github.com/Tencent/spring-cloud-tencent/pull/476) - [docs:update configuration metadata.](https://github.com/Tencent/spring-cloud-tencent/pull/474) +- [Feature: delete implement ServiceInstance](https://github.com/Tencent/spring-cloud-tencent/pull/483) \ No newline at end of file diff --git a/spring-cloud-starter-tencent-polaris-discovery/src/main/java/com/tencent/cloud/polaris/registry/PolarisRegistration.java b/spring-cloud-starter-tencent-polaris-discovery/src/main/java/com/tencent/cloud/polaris/registry/PolarisRegistration.java index 1737bd469..a79eaf148 100644 --- a/spring-cloud-starter-tencent-polaris-discovery/src/main/java/com/tencent/cloud/polaris/registry/PolarisRegistration.java +++ b/spring-cloud-starter-tencent-polaris-discovery/src/main/java/com/tencent/cloud/polaris/registry/PolarisRegistration.java @@ -30,7 +30,6 @@ import com.tencent.polaris.client.api.SDKContext; import org.apache.commons.lang.StringUtils; import org.springframework.cloud.client.DefaultServiceInstance; -import org.springframework.cloud.client.ServiceInstance; import org.springframework.cloud.client.serviceregistry.Registration; import org.springframework.lang.Nullable; import org.springframework.util.CollectionUtils; @@ -40,7 +39,7 @@ import org.springframework.util.CollectionUtils; * * @author Haotian Zhang, Andrew Shan, Jie Cheng */ -public class PolarisRegistration implements Registration, ServiceInstance { +public class PolarisRegistration implements Registration { private static final String METADATA_KEY_IP = "internal-ip"; private static final String METADATA_KEY_ADDRESS = "internal-address";