mirror of https://github.com/1Panel-dev/1Panel
parent
96cf46d834
commit
96ab4c53af
|
@ -227,6 +227,9 @@ func initDir() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func handleCronJobAlert(cronjob *model.Cronjob) {
|
func handleCronJobAlert(cronjob *model.Cronjob) {
|
||||||
|
if cronjob.Type == "snapshot" {
|
||||||
|
return
|
||||||
|
}
|
||||||
pushAlert := dto.PushAlert{
|
pushAlert := dto.PushAlert{
|
||||||
TaskName: cronjob.Name,
|
TaskName: cronjob.Name,
|
||||||
AlertType: cronjob.Type,
|
AlertType: cronjob.Type,
|
||||||
|
|
Loading…
Reference in New Issue