From d218b52d4919200b86ddff45e0e34a8ef3f9760e Mon Sep 17 00:00:00 2001 From: zyl <2025320615@qq.com> Date: Mon, 24 Jan 2022 17:11:12 +0800 Subject: [PATCH] # modify reviews --- .../servicecomb/serviceregistry/refresh/AddressManger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service-registry/registry-service-center/src/main/java/org/apache/servicecomb/serviceregistry/refresh/AddressManger.java b/service-registry/registry-service-center/src/main/java/org/apache/servicecomb/serviceregistry/refresh/AddressManger.java index ec71f3b2765..4b8a804ebfd 100644 --- a/service-registry/registry-service-center/src/main/java/org/apache/servicecomb/serviceregistry/refresh/AddressManger.java +++ b/service-registry/registry-service-center/src/main/java/org/apache/servicecomb/serviceregistry/refresh/AddressManger.java @@ -119,7 +119,7 @@ public void recordFailState(String currentAddress) { @Subscribe public void onRefreshEndpointEvent(RefreshEndpointEvent event) { - refreshEndpoint(event, "SERVICECENTER"); + refreshEndpoint(event, RefreshEndpointEvent.SERVICE_CENTER_NAME); } public void refreshEndpoint(RefreshEndpointEvent event, String key) {