Skip to content

Commit

Permalink
Merge e93515c into 5e26d2b
Browse files Browse the repository at this point in the history
  • Loading branch information
lzh2nix committed Oct 22, 2019
2 parents 5e26d2b + e93515c commit e556c03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/broker/cluster/swarm.go
Expand Up @@ -312,8 +312,8 @@ func (s *Swarm) OnGossipUnicast(src mesh.PeerName, buf []byte) (err error) {
}

// Go through each message in the decoded frame
for _, m := range frame {
s.OnMessage(&m)
for i := range frame {
s.OnMessage(&frame[i])
}

return nil
Expand Down

0 comments on commit e556c03

Please sign in to comment.