From 51a22c21ff320906914c62b70959b82fdcf5e3dd Mon Sep 17 00:00:00 2001 From: John Jiang Date: Wed, 19 Jul 2023 19:28:50 +0800 Subject: [PATCH] tests: cleanup unnecessary assignment in cluster.go Signed-off-by: John Jiang --- tests/framework/integration/cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/framework/integration/cluster.go b/tests/framework/integration/cluster.go index 44681384466..4dcfdfda47f 100644 --- a/tests/framework/integration/cluster.go +++ b/tests/framework/integration/cluster.go @@ -783,7 +783,7 @@ func (m *Member) listenGRPC() error { } addr := grpcListener.Addr().String() - host, port, err = net.SplitHostPort(addr) + _, port, err = net.SplitHostPort(addr) if err != nil { return fmt.Errorf("failed to parse grpc listen port from address %s (%v)", addr, err) }