sullis commented on code in PR #13222:
URL: https://github.com/apache/pinot/pull/13222#discussion_r1667711824


##########
pinot-common/src/main/java/org/apache/pinot/common/minion/MinionClient.java:
##########
@@ -72,8 +72,8 @@ public Map<String, String> scheduleMinionTasks(@Nullable 
String taskType, @Nulla
       throws IOException, HttpException {
     HttpPost httpPost = createHttpPostRequest(
         
MinionRequestURLBuilder.baseUrl(_controllerUrl).forTaskSchedule(taskType, 
tableNameWithType));
-    HttpResponse response = HTTP_CLIENT.execute(httpPost);
-    int statusCode = response.getStatusLine().getStatusCode();
+    CloseableHttpResponse response = HTTP_CLIENT.execute(httpPost);

Review Comment:
   Fixed MinionClient.java -- next, I will review other places 



-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to