Merge pull request #8083 from dokku/fix-cron-variable

fix: use correct variable for tasks
This commit is contained in:
Jose Diaz-Gonzalez
2025-11-08 00:11:32 -05:00
committed by GitHub

View File

@@ -80,7 +80,7 @@ func FetchCronTasks(input FetchCronTasksInput) ([]CronTask, error) {
isMaintenance := reportComputedMaintenance(appName) == "true"
if input.AppJSON == nil && input.AppName == "" {
return commands, fmt.Errorf("Missing app name or app.json")
return tasks, fmt.Errorf("Missing app name or app.json")
}
if input.AppJSON == nil {