for #4199, Replace the http client implementation used by DistroFilter. (#4211)

This commit is contained in:
mai.jh 2020-11-12 20:17:43 +08:00 committed by GitHub
parent 027538ce2e
commit a47e726f95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);