mirror of https://github.com/apache/druid.git
WorkerTaskMonitor: Fix isTaskRunning check
This commit is contained in:
parent
e72695111c
commit
dcd10e69c7
|
@ -175,7 +175,7 @@ public class WorkerTaskMonitor implements QuerySegmentWalker
|
|||
private boolean isTaskRunning(final Task task)
|
||||
{
|
||||
for (final Task runningTask : running) {
|
||||
if (runningTask.equals(task.getId())) {
|
||||
if (runningTask.getId().equals(task.getId())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue