healchow commented on code in PR #7770:
URL: https://github.com/apache/inlong/pull/7770#discussion_r1156662208


##########
inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/config/RemoteConfigManager.java:
##########
@@ -205,6 +205,12 @@ private boolean reloadDataProxyConfig(String clusterName, 
String clusterTag, Str
             LOGGER.info("start to request {} to get config info with params 
{}", url, request);
             CloseableHttpResponse response = httpClient.execute(httpPost);
             String returnStr = EntityUtils.toString(response.getEntity());
+
+            if (response.getStatusLine().getStatusCode() != 200) {

Review Comment:
   Will the `response.getStatusLine()` be null?



-- 
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]

Reply via email to