* Update entrypoint contact info even when shred version adoption is not requested (cherry picked from commit3373082ffa
) * Multiple entrypoint support (cherry picked from commitace360ade2
) Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
@@ -113,7 +113,7 @@ fn do_verify_reachable_ports(
|
||||
udp_retry_count: usize,
|
||||
) -> bool {
|
||||
info!(
|
||||
"Checking that tcp ports {:?} from {:?}",
|
||||
"Checking that tcp ports {:?} are reachable from {:?}",
|
||||
tcp_listeners, ip_echo_server_addr
|
||||
);
|
||||
|
||||
@@ -334,7 +334,7 @@ pub fn is_host(string: String) -> Result<(), String> {
|
||||
pub fn parse_host_port(host_port: &str) -> Result<SocketAddr, String> {
|
||||
let addrs: Vec<_> = host_port
|
||||
.to_socket_addrs()
|
||||
.map_err(|err| err.to_string())?
|
||||
.map_err(|err| format!("Unable to resolve host {}: {}", host_port, err))?
|
||||
.collect();
|
||||
if addrs.is_empty() {
|
||||
Err(format!("Unable to resolve host: {}", host_port))
|
||||
|
Reference in New Issue
Block a user