Skip to content

Commit c273f8b

Browse files
committed
gossip update sub
1 parent b92b3b7 commit c273f8b

File tree

1 file changed

+2
-0
lines changed
  • examples/cluster-gossip/node1

1 file changed

+2
-0
lines changed

examples/cluster-gossip/node1/main.go

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ func startNode() *cluster.Cluster {
4545
switch msg := evt.(type) {
4646
case *cluster.ClusterTopology:
4747
fmt.Printf("\nClusterTopology %v\n\n", msg)
48+
case *cluster.GossipUpdate:
49+
fmt.Printf("\nGossipUpdate %v\n\n", msg)
4850
}
4951
})
5052

0 commit comments

Comments
 (0)