diff --git a/MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc b/MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc index b0a58fba5a83c8bfeb6f960e1baacefad901c6d0..f86bd02c2d3611ea51f0a0ff50eb0eb43b5bb173 100644 --- a/MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc +++ b/MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc @@ -1150,7 +1150,7 @@ void MACScheduler::_updateFinishedList() freeSpace = MAX_CONCURRENT_OBSERVATIONS - itsNrPlanned - itsNrActive; // get new list (list is/should_be ordered on starttime) - Json::Value finishingSubTasks = itsTMSSconnection->getObservationFinishingSubTasks(); + Json::Value finishingSubTasks = itsTMSSconnection->getFinishingObservationSubTasks(); if (finishingSubTasks.empty()) { LOG_DEBUG ("No finishing TMSS Observations"); // NOTE: do not exit routine on emptylist: we need to write an empty list to clear the DB