diff --git a/naming/src/main/java/com/alibaba/nacos/naming/misc/HttpClient.java b/naming/src/main/java/com/alibaba/nacos/naming/misc/HttpClient.java index 07941e9dd..7d7a740f5 100644 --- a/naming/src/main/java/com/alibaba/nacos/naming/misc/HttpClient.java +++ b/naming/src/main/java/com/alibaba/nacos/naming/misc/HttpClient.java @@ -110,7 +110,7 @@ public class HttpClient { query.addParam("encoding", "UTF-8"); query.addParam("nofix", "1"); try { - return SYNC_NACOS_REST_TEMPLATE + return APACHE_SYNC_NACOS_REST_TEMPLATE .exchange(url, httpClientConfig, header, query, body, method, String.class); } catch (Exception e) { Loggers.SRV_LOG.warn("Exception while request: {}, caused: {}", url, e);