From cb1dc8cc8a54d9422f5824150ee663f2779b9fdb Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Thu, 14 Oct 2021 07:34:59 +0000
Subject: [PATCH] TMSS-1099: fixed typo

---
 MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc b/MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc
index b0a58fba5a8..f86bd02c2d3 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
-- 
GitLab