fix: 彻底修复拼写错误
This commit is contained in:
parent
62f935c2f3
commit
ed2fec4a0b
|
|
@ -122,7 +122,7 @@ func (s *Scanner) reportFile(path string, alertType string) {
|
||||||
"status": "detected",
|
"status": "detected",
|
||||||
}
|
}
|
||||||
|
|
||||||
packet := network.NewPactet(alertType, payload)
|
packet := network.NewPacket(alertType, payload)
|
||||||
|
|
||||||
s.client.SendQueue(packet)
|
s.client.SendQueue(packet)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ func (w *Watcher) reportEvent(path, alertType, op string) {
|
||||||
"time": time.Now(),
|
"time": time.Now(),
|
||||||
}
|
}
|
||||||
|
|
||||||
packet := network.NewPactet(alertType, payload)
|
packet := network.NewPacket(alertType, payload)
|
||||||
w.client.SendQueue(packet)
|
w.client.SendQueue(packet)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user