github-advanced-security[bot] commented on code in PR #16168:
URL: https://github.com/apache/druid/pull/16168#discussion_r1530710796
##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/exec/ControllerImpl.java:
##########
@@ -2995,15 +2873,14 @@
*/
private interface TaskContactFn
{
- ListenableFuture<Void> contactTask(WorkerClient client, String taskId, int
workerNumber);
+ ListenableFuture<Void> contactTask(WorkerClient client, String workerId,
int workerNumber);
}
/**
* Interface used when {@link TaskContactFn#contactTask(WorkerClient,
String, int)} returns a successful future.
*/
private interface TaskContactSuccess
{
- void onSuccess(String taskId);
-
+ void onSuccess(String workerId, int workerNumber);
Review Comment:
## Useless parameter
The parameter 'workerId' is never used.
[Show more
details](https://github.com/apache/druid/security/code-scanning/7150)
--
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]