mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-23 18:49:21 +08:00
fix: 解决计划任务告警误报的问题 (#6825)
This commit is contained in:
parent
96cf46d834
commit
96ab4c53af
@ -227,6 +227,9 @@ func initDir() {
|
||||
}
|
||||
|
||||
func handleCronJobAlert(cronjob *model.Cronjob) {
|
||||
if cronjob.Type == "snapshot" {
|
||||
return
|
||||
}
|
||||
pushAlert := dto.PushAlert{
|
||||
TaskName: cronjob.Name,
|
||||
AlertType: cronjob.Type,
|
||||
|
Loading…
Reference in New Issue
Block a user