This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 4da4119 [INLONG-698] update url getConfig in manager
4da4119 is described below
commit 4da4119bd103857c43d268bc76648fcbeeb38cb9
Author: stingpeng <[email protected]>
AuthorDate: Fri Jul 9 18:57:28 2021 +0800
[INLONG-698] update url getConfig in manager
---
.../main/java/org/apache/inlong/dataproxy/config/ConfigManager.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/config/ConfigManager.java
b/inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/config/ConfigManager.java
index 802c6f0..e04bfbc 100644
---
a/inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/config/ConfigManager.java
+++
b/inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/config/ConfigManager.java
@@ -253,8 +253,7 @@ public class ConfigManager {
private boolean checkWithManager(String host) {
HttpGet httpGet = null;
try {
- String url = "http://" + host +
"/openapi/inlong/manager/dataproxy/getConfig/"
- +
configManager.getCommonProperties().get("cluster_id");
+ String url = "http://" + host +
"/openapi/inlong/manager/dataproxy/getConfig";
LOG.info("start to request {} to get config info", url);
httpGet = new HttpGet(url);
httpGet.addHeader(HttpHeaders.CONNECTION, "close");