refactor: rename command to task in cron code

This commit is contained in:
Jose Diaz-Gonzalez committed 2025-11-07 22:41:00 -05:00
1 parent 82cab643a8
commit 791f53ab47
5 files changed
+39 -39

No files matched your search

+1 -1
View File
@@ -317,7 +317,7 @@ func TriggerSchedulerDeploy(scheduler string, appName string, imageTag string) e
return fmt.Errorf("Error fetching cron tasks: %w", err)
}
// remove maintenance cron tasks
cronTasks := []cron.TemplateCommand{}
cronTasks := []cron.CronTask{}
for _, cronTask := range allCronTasks {
if !cronTask.Maintenance {
cronTasks = append(cronTasks, cronTask)