diff --git a/CHANGELOG.md b/CHANGELOG.md index 4697d768d..b7ba786b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,3 +12,4 @@ - [loadBalancer module add unit test.](https://github.com/Tencent/spring-cloud-tencent/pull/468) - [docs:update mvnw.](https://github.com/Tencent/spring-cloud-tencent/pull/475) - [docs:update configuration metadata.](https://github.com/Tencent/spring-cloud-tencent/pull/473) +- [Feature: delete implement ServiceInstance](https://github.com/Tencent/spring-cloud-tencent/pull/482) \ 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 d893836a6..835b84bac 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";