Skip to content

Commit

Permalink
for alibaba#4199, Replace the http client implementation used by Dist…
Browse files Browse the repository at this point in the history
…roFilter. (alibaba#4211)
  • Loading branch information
Maijh97 authored Nov 12, 2020
1 parent 027538c commit a47e726
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static RestResult<String> request(String url, List<String> headers, Map<S
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);
Expand Down

0 comments on commit a47e726

Please sign in to comment.