fix: also add nodes without metadata that reply

This commit is contained in:
əlemi 2023-10-03 03:34:22 +02:00
parent 6bd0be1a51
commit e4b42c7aa9
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -61,6 +61,7 @@ async fn scan_instance(domain: &str, map: MapHandle) -> Option<()> {
Ok(Some(r)) => r, Ok(Some(r)) => r,
Ok(None) => { Ok(None) => {
tracing::info!("instance {} doesn't provide metadata", domain); tracing::info!("instance {} doesn't provide metadata", domain);
map.add_node(domain.to_string(), domain.to_string());
return None return None
}, },
Err(e) => { Err(e) => {