chore: standardize on cron task vs any other naming

This commit is contained in:
Jose Diaz-Gonzalez committed 2025-11-09 23:16:38 -05:00
1 parent 66a30b0547
commit 426e6b746a
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ type CronTask struct {
// Command is the command to execute // Command is the command to execute
Command string `json:"command"` 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"` Maintenance bool `json:"maintenance"`
// Schedule is the cron schedule to execute the command on // Schedule is the cron schedule to execute the command on
+2 -2
View File
@@ -56,10 +56,10 @@ type CronTask struct {
// AppInMaintenance is whether the app's cron is in maintenance mode // AppInMaintenance is whether the app's cron is in maintenance mode
AppInMaintenance bool `json:"app-in-maintenance"` 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"` 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"` Maintenance bool `json:"maintenance"`
} }