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

This commit is contained in:
naiba committed 2021-01-23 18:15:11 +08:00
1 parent b6d3265faf
commit e1f1ffb583
7 files changed
+37 -36

No files matched your search

+1 -1
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)
}
}
})