fix: log the number of gateways found in portal config

This commit is contained in:
Kevin Yue committed 2026-05-13 09:05:58 +08:00
1 parent 771a894f5a
commit 912842e69b
1 file changed
+2
+2
View File
@@ -270,6 +270,8 @@ fn parse_portal_config(server: &str, cred: &Credential, root: Element) -> anyhow
if gateways.is_empty() {
gateways.push(Gateway::new(server.to_string(), server.to_string()));
} else {
info!("Found {} gateways in portal config", gateways.len());
}
let version = root.descendant_text("version").map(|s| s.to_string());