healchow commented on code in PR #7629:
URL: https://github.com/apache/inlong/pull/7629#discussion_r1139830670
##########
inlong-audit/audit-common/src/main/java/org/apache/inlong/audit/file/ConfigManager.java:
##########
@@ -189,33 +200,42 @@ private void checkLocalFile() {
}
}
- private boolean checkWithManager(String host) {
- HttpGet httpGet = null;
+ private boolean checkWithManager(String host, String clusterName,
String clusterTag) {
+ HttpPost httpPost = null;
try {
- String url = "http://" + host +
"/inlong/manager/openapi/audit/getConfig";
+ String url = "http://" + host +
"/inlong/manager/openapi/dataproxy/getConfig";
Review Comment:
Suggest extract to a constant, or read from the config file.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]