From 23ce61e9abb49b6a05be0813b63d68079204a351 Mon Sep 17 00:00:00 2001 From: Chutong Li <393818655@qq.com> Date: Tue, 24 Dec 2024 10:18:39 +0800 Subject: [PATCH] Update main.go *cluster.ClusterTopology --- examples/cluster-metrics/client/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cluster-metrics/client/main.go b/examples/cluster-metrics/client/main.go index f9ba51e9..cdea05a6 100644 --- a/examples/cluster-metrics/client/main.go +++ b/examples/cluster-metrics/client/main.go @@ -82,7 +82,7 @@ func setupLogger(c *cluster.Cluster) { log.Printf("Member Unavailable " + msg.Name()) case *cluster.MemberAvailableEvent: log.Printf("Member Available " + msg.Name()) - case cluster.ClusterTopology: + case *cluster.ClusterTopology: log.Printf("Cluster Topology Poll") } })