Skip to content

Commit

Permalink
reassign addr
Browse files Browse the repository at this point in the history
  • Loading branch information
moogacs committed Apr 17, 2024
1 parent 4a66911 commit f1843aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster/transport/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ func (cl *Client) getConn(leaderAddress string) (*grpc.ClientConn, error) {
return nil, fmt.Errorf("dial: %w", err)
}

cl.leaderAddr = leaderAddress

return cl.leaderConn, nil
}

Expand Down

0 comments on commit f1843aa

Please sign in to comment.