diff --git a/spring-cloud-starter-tencent-polaris-router/src/main/java/com/tencent/cloud/polaris/router/PolarisRouterServiceInstanceListSupplier.java b/spring-cloud-starter-tencent-polaris-router/src/main/java/com/tencent/cloud/polaris/router/PolarisRouterServiceInstanceListSupplier.java index 54068f453..63be917cc 100644 --- a/spring-cloud-starter-tencent-polaris-router/src/main/java/com/tencent/cloud/polaris/router/PolarisRouterServiceInstanceListSupplier.java +++ b/spring-cloud-starter-tencent-polaris-router/src/main/java/com/tencent/cloud/polaris/router/PolarisRouterServiceInstanceListSupplier.java @@ -188,11 +188,4 @@ public class PolarisRouterServiceInstanceListSupplier extends DelegatingServiceI } } } - - private Map getRouterLabels(PolarisRouterContext key, String type) { - if (key != null) { - return key.getLabels(type); - } - return Collections.emptyMap(); - } }