refactor: rename command to task in cron code

This commit is contained in:
Jose Diaz-Gonzalez
2025-11-07 22:40:53 -05:00
parent 82cab643a8
commit 791f53ab47
5 changed files with 39 additions and 39 deletions

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)