fixing scheduling process

This commit is contained in:
pb
2024-07-04 15:57:28 +02:00
parent b40879d8aa
commit b87b6c9eeb
5 changed files with 9 additions and 5 deletions

View File

@@ -99,7 +99,7 @@ func CheckSchedule(cronString string, duration uint, cronFirstDate, cronLastDate
return errors.New("Bad cron message: " + err.Error())
}
dcModel := GetDatacenterFromAcronym(services.DC_NAME)
dcModel := GetDatacenterFromAcronym(services.DC_NAME)
if dcModel == nil {
return errors.New("The DC " + services.DC_NAME + " doesn't have any DC model with that acronym")
}