From a9258583a8857f209e47567a647e4f40d3bd9f6d Mon Sep 17 00:00:00 2001 From: aestene Date: Mon, 6 Nov 2023 15:02:50 +0100 Subject: [PATCH] Remove check for desired start time --- backend/api/EventHandlers/MissionScheduling.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/backend/api/EventHandlers/MissionScheduling.cs b/backend/api/EventHandlers/MissionScheduling.cs index 2296ba46d..cd4edc90c 100644 --- a/backend/api/EventHandlers/MissionScheduling.cs +++ b/backend/api/EventHandlers/MissionScheduling.cs @@ -278,11 +278,6 @@ public async Task 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; }