Skip to content

Commit

Permalink
tests: cleanup unnecessary assignment in cluster.go
Browse files Browse the repository at this point in the history
Signed-off-by: John Jiang <[email protected]>
  • Loading branch information
johnshajiang committed Jul 19, 2023
1 parent 35628b9 commit 51a22c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/framework/integration/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 51a22c2

Please sign in to comment.