fix: 彻底修复拼写错误

This commit is contained in:
wuko233 2026-03-13 15:12:19 +08:00
parent 62f935c2f3
commit ed2fec4a0b
2 changed files with 2 additions and 2 deletions

View File

@ -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)
} }

View File

@ -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)
} }