From 426e6b746a207e978a89394d04ee35d1ba6bf19b Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 21 Sep 2025 21:05:24 -0400 Subject: [PATCH] chore: standardize on cron task vs any other naming --- plugins/app-json/appjson.go | 2 +- plugins/cron/cron.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/app-json/appjson.go b/plugins/app-json/appjson.go index ab80fb21f..99c856bc5 100644 --- a/plugins/app-json/appjson.go +++ b/plugins/app-json/appjson.go @@ -55,7 +55,7 @@ type CronTask struct { // Command is the command to execute Command string `json:"command"` - // Maintenance is whether or not the cron command is in maintenance mode + // Maintenance is whether or not the cron task is in maintenance mode Maintenance bool `json:"maintenance"` // Schedule is the cron schedule to execute the command on diff --git a/plugins/cron/cron.go b/plugins/cron/cron.go index de19d07b3..f21a058fa 100644 --- a/plugins/cron/cron.go +++ b/plugins/cron/cron.go @@ -56,10 +56,10 @@ type CronTask struct { // AppInMaintenance is whether the app's cron is in maintenance mode AppInMaintenance bool `json:"app-in-maintenance"` - // Maintenance is whether the cron command is in maintenance mode + // Maintenance is whether the cron task is in maintenance mode TaskInMaintenance bool `json:"task-in-maintenance"` - // Maintenance is whether the cron command is in maintenance mode + // Maintenance is whether the cron task is in maintenance mode Maintenance bool `json:"maintenance"` }