reintroduce warning when invalid node id is present in consul

This commit is contained in:
Alex Auvolat
2026-01-06 14:35:51 +01:00
parent dc8d93698b
commit cf22e7b71d
+5
View File
@@ -169,6 +169,11 @@ impl ConsulDiscovery {
.and_then(|k| NodeID::from_slice(&k[..]));
if let (Some(ip), Some(pubkey)) = (ip, pubkey) {
ret.push((pubkey, SocketAddr::new(ip, ent.service_port)));
} else {
warn!(
"Could not process node spec from Consul: {:?} (invalid IP address or node ID/pubkey)",
ent
);
}
}
}