Fix overriden typo (#11227)

This commit is contained in:
Sumanth Ratna
2020-10-07 19:11:07 -07:00
committed by GitHub
parent ff3e411ea2
commit 14d8826e43
12 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -349,9 +349,9 @@ void TaskDependencyManager::TaskPending(const Task &task) {
// For direct actor creation task:
// - when it's submitted by core worker, we guarantee that
// we always request a new worker lease, in that case
// `OnDispatch` is overriden to an actual callback.
// `OnDispatch` is overridden to an actual callback.
// - when it's resubmitted by raylet because of reconstruction,
// `OnDispatch` will not be overriden and thus is nullptr.
// `OnDispatch` will not be overridden and thus is nullptr.
if (task.GetTaskSpecification().IsActorCreationTask() && task.OnDispatch() == nullptr) {
// This is an actor creation task, and it's being restarted,
// in this case we still need the task lease. Note that we don't