Skip to content
Snippets Groups Projects
Commit fa12bfeb authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-1806: review: removed obsolete code path

parent c1bb49e4
No related branches found
No related tags found
1 merge request!933TMSS-1806
......@@ -840,12 +840,6 @@ def unschededule_blocking_scheduled_units_if_needed_and_possible(candidate: Scor
scheduled_scheduling_unit.id, scheduled_scheduling_unit.name,
candidate.scheduling_unit.id, candidate.scheduling_unit.name, candidate.weighted_score, candidate.scheduling_unit.scheduled_start_time)
unschedule_subtasks_in_scheduling_unit_blueprint(scheduled_scheduling_unit)
elif candidate.scheduling_unit.id==scheduled_scheduling_unit.id and candidate.scheduled_start_time!=scheduled_scheduling_unit.scheduled_start_time:
logger.info("unscheduling id=%s '%s' start_time='%s' because it has a new proposed start_time id=%s '%s' start_time=%s",
scheduled_scheduling_unit.id, scheduled_scheduling_unit.name, scheduled_scheduling_unit.scheduled_start_time,
candidate.scheduling_unit.id, candidate.scheduling_unit.name, candidate.weighted_score, candidate.scheduling_unit.scheduled_start_time)
unschedule_subtasks_in_scheduling_unit_blueprint(scheduled_scheduling_unit)
else:
logger.info("scheduling_unit id=%s '%s' start_time='%s' will not be unscheduled and keep blocking candidate id=%s '%s' start_time='%s'",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment