Skip to content

Commit

Permalink
fix(schema): fix make lint-fix reports error (#23374)
Browse files Browse the repository at this point in the history
  • Loading branch information
caseylove authored Jan 14, 2025
1 parent 76e75bb commit ec744ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schema/appdata/mux.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ func ListenerMux(listeners ...Listener) Listener {
}

mux.onBatch = func(batch PacketBatch) error {
for _, listener := range listeners {
err := batch.apply(&listener)
for i := range listeners {
err := batch.apply(&listeners[i])
if err != nil {
return err
}
Expand Down

0 comments on commit ec744ec

Please sign in to comment.