Fix variable shadowing bug in dispatcher_impl.cc
PiperOrigin-RevId: 324150733 Change-Id: I9128b6462643b103ad313f649d03f366a2208f45
This commit is contained in:
parent
23d1fc173e
commit
f6cc28bda0
@ -114,8 +114,8 @@ Status DataServiceDispatcherImpl::WorkerUpdate(
|
|||||||
}
|
}
|
||||||
task->finished = true;
|
task->finished = true;
|
||||||
bool finished = true;
|
bool finished = true;
|
||||||
for (const auto& task : tasks_by_job_[task->job_id]) {
|
for (const auto& job_task : tasks_by_job_[task->job_id]) {
|
||||||
if (!task->finished) {
|
if (!job_task->finished) {
|
||||||
finished = false;
|
finished = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user