Skip to content

Commit

Permalink
fix: 解决计划任务告警误报的问题 (#6825)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssongliu authored Oct 23, 2024
1 parent 96cf46d commit 96ab4c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/init/hook/hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 96ab4c5

Please sign in to comment.