Skip to content

Commit

Permalink
Remove check for desired start time
Browse files Browse the repository at this point in the history
  • Loading branch information
aeshub committed Nov 6, 2023
1 parent f42fe93 commit a925858
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions backend/api/EventHandlers/MissionScheduling.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,6 @@ public async Task<bool> TheSystemIsAvailableToRunAMission(Robot robot, MissionRu
_logger.LogWarning("Mission run {MissionRunId} was not started as the robot {RobotId} is not enabled", missionRun.Id, robot.Id);
return false;
}
if (missionRun.DesiredStartTime > DateTime.UtcNow)
{
_logger.LogInformation("Mission run {MissionRunId} was not started as the start time is in the future", missionRun.Id);
return false;
}
return true;
}

Expand Down

0 comments on commit a925858

Please sign in to comment.