joao-r-reis commented on code in PR #1858: URL: https://github.com/apache/cassandra-gocql-driver/pull/1858#discussion_r1941072885
########## host_source.go: ########## @@ -224,18 +236,20 @@ func (h *HostInfo) ConnectAddress() net.IP { h.mu.RLock() defer h.mu.RUnlock() - if addr, _ := h.connectAddressLocked(); validIpAddr(addr) { - return addr - } - panic(fmt.Sprintf("no valid connect address for host: %v. Is your cluster configured correctly?", h)) + addr, _ := h.connectAddressLocked() Review Comment: Yes but h.connectaddress is never supposed to be invalid now -- 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: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org