chore: standardize on cron task vs any other naming
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -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
|
||||||
|
|||||||
@@ -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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user