Update NamingProxy.java

This commit is contained in:
pbting 2019-02-22 17:43:54 +08:00 committed by GitHub
parent e916431d65
commit f5d2782901
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,7 @@ public class NamingProxy {
try {
String urlString = "http://" + endpoint + "/nacos/serverlist";
String nacosNamingMode = System.getProperty(SystemPropertyKeyConst.NACOS_NAMING_MODE, "Naming");
String nacosNamingMode = System.getProperty(SystemPropertyKeyConst.NACOS_NAMING_REQUEST_MODULE, "Naming");
List<String> headers = Arrays.asList("Client-Version", UtilAndComs.VERSION,
"Accept-Encoding", "gzip,deflate,sdch", "Connection", "Keep-Alive",