updated: 2024-11-06 00:28:58
This commit is contained in:
parent
a52ef226e2
commit
7992223286
|
|
@ -53,7 +53,7 @@ func main() {
|
|||
log.Println("container find names", containerNames)
|
||||
for _, targetName := range monitorNames {
|
||||
if lo.IndexOf(containerNames, targetName) == -1 {
|
||||
err := sendFeedback(fmt.Sprintf("⚠️警告,容器[%s]已挂掉,tag: %s", targetName, tag))
|
||||
err := sendFeedback(fmt.Sprintf("⚠️警告,容器[%s]异常,请及时处理", targetName))
|
||||
if err != nil {
|
||||
log.Println("send feedback failed", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue