🚸 [dashboard v0.3.8] improve: 不过滤的通知

This commit is contained in:
naiba
2021-01-23 18:15:11 +08:00
parent e30bdbb87c
commit 175eb996d3
7 changed files with 37 additions and 36 deletions

View File

@@ -281,7 +281,7 @@ func (ma *memberAPI) addOrEditCron(c *gin.Context) {
Type: model.TaskTypeCommand,
})
} else {
alertmanager.SendNotification(fmt.Sprintf("计划任务:%s服务器%d 离线,无法执行。", cr.Name, cr.Servers[j]))
alertmanager.SendNotification(fmt.Sprintf("计划任务:%s服务器%d 离线,无法执行。", cr.Name, cr.Servers[j]), false)
}
}
})