github-advanced-security[bot] commented on code in PR #18465:
URL: https://github.com/apache/druid/pull/18465#discussion_r2314318077
##########
indexing-service/src/main/java/org/apache/druid/indexing/overlord/hrtr/WorkerHolder.java:
##########
@@ -450,5 +451,7 @@
public interface Listener
{
void taskAddedOrUpdated(TaskAnnouncement announcement, WorkerHolder
workerHolder);
+
+ void stateChanged(boolean enabled, WorkerHolder workerHolder);
Review Comment:
## Useless parameter
The parameter 'enabled' is never used.
[Show more
details](https://github.com/apache/druid/security/code-scanning/10262)
##########
indexing-service/src/main/java/org/apache/druid/indexing/overlord/hrtr/WorkerHolder.java:
##########
@@ -450,5 +451,7 @@
public interface Listener
{
void taskAddedOrUpdated(TaskAnnouncement announcement, WorkerHolder
workerHolder);
+
+ void stateChanged(boolean enabled, WorkerHolder workerHolder);
Review Comment:
## Useless parameter
The parameter 'workerHolder' is never used.
[Show more
details](https://github.com/apache/druid/security/code-scanning/10263)
--
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]