日志发送逻辑及测试消息发送接口
This commit is contained in:
@@ -215,6 +215,8 @@ func getAddressForNotifier(notifierType notify.NotifierType, contact models.Cont
|
||||
return contact.WeChat
|
||||
case notify.NotifierTypeLark:
|
||||
return contact.Feishu
|
||||
case notify.NotifierTypeLog:
|
||||
return "log" // LogNotifier不需要具体的地址,但为了函数签名一致性,返回一个无意义的非空字符串以绕过配置存在检查
|
||||
default:
|
||||
return ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user