joao-r-reis commented on code in PR #1913:
URL:
https://github.com/apache/cassandra-gocql-driver/pull/1913#discussion_r2420423476
##########
host_source.go:
##########
@@ -745,7 +736,7 @@ func (r *ringDescriber) getLocalHostInfo() (*HostInfo,
error) {
return nil, errNoControl
}
- host, err := r.session.hostInfoFromIter(iter, nil, r.session.cfg.Port)
+ host, err := r.session.hostInfoFromIter(iter, iter.host.connectAddress,
r.session.cfg.Port)
Review Comment:
actually `ConnectAddress()` will do all the logic to falback to other
columns so I probably need to add a new method
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]