From a47e726f95f2a37fa8ba2254c03a59bbb50a9af3 Mon Sep 17 00:00:00 2001 From: "mai.jh" Date: Thu, 12 Nov 2020 20:17:43 +0800 Subject: [PATCH] for #4199, Replace the http client implementation used by DistroFilter. (#4211) --- .../src/main/java/com/alibaba/nacos/naming/misc/HttpClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);