gianm commented on code in PR #18851:
URL: https://github.com/apache/druid/pull/18851#discussion_r2968325085


##########
indexing-service/src/main/java/org/apache/druid/indexing/overlord/hrtr/HttpRemoteTaskRunnerResource.java:
##########
@@ -72,7 +72,7 @@ public Response getPendingTasksQueue()
       return 
Response.status(Response.Status.FORBIDDEN).entity("HttpRemoteTaskRunner is 
NULL.").build();
     }
 
-    return 
Response.ok().entity(httpRemoteTaskRunner.getPendingTasksList()).build();
+    return 
Response.ok().entity(httpRemoteTaskRunner.getPendingTasks()).build();

Review Comment:
   The old `getPendingTasksList` is `List<String>`, the new `getPendingTasks` 
is `Collection<? extends TaskRunnerWorkItem>`. The response would change from a 
list of strings to a list of objects. Right?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to