Skip to content

Commit

Permalink
One more change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brijesh Khandelwal committed Feb 27, 2020
1 parent ab30f56 commit 15eece9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ internal async Task PrepareRepairTasks(CancellationToken cancellationToken)
if (completedTasks.Any())
{
RepairTask lastCompletedTask = completedTasks.Aggregate((curMax, task) => (task.CompletedTimestamp > curMax.CompletedTimestamp ? task : curMax));
timePastAfterCompletedTask = DateTime.UtcNow - lastCompletedTask.CompletedTimestamp;
timePastAfterCompletedTask = DateTime.UtcNow - lastCompletedTask?.CompletedTimestamp;
}


Expand Down

0 comments on commit 15eece9

Please sign in to comment.