Skip to content

Commit

Permalink
Merge pull request etcd-io#16271 from johnshajiang/cleanup-cluster
Browse files Browse the repository at this point in the history
tests: cleanup unnecessary assignment in cluster.go
  • Loading branch information
ahrtr committed Jul 20, 2023
2 parents 92de641 + 51a22c2 commit cd453b9
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 cd453b9

Please sign in to comment.