Skip to content

Commit

Permalink
jump local-storage:raid_status event
Browse files Browse the repository at this point in the history
  • Loading branch information
ZimaOS committed Jan 9, 2024
1 parent cd06d3c commit 2c1a72c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion route/event_listen.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ func EventListen() {
Properties: string(propertiesStr),
UUID: *event.Uuid,
}
logger.Info("write to database", zap.Any("model", model))
if event.Name == "local-storage:raid_status" {
continue
}
service.MyService.Event().CreateEvemt(model)
// logger.Info("info", zap.Any("写入信息1", model))
// output, err := json.MarshalIndent(event, "", " ")
Expand Down

0 comments on commit 2c1a72c

Please sign in to comment.