From 912842e69b177cc7ba0894fa948c52750392a323 Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Wed, 13 May 2026 09:05:58 +0800 Subject: [PATCH] fix: log the number of gateways found in portal config --- crates/gpapi/src/portal/config.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/gpapi/src/portal/config.rs b/crates/gpapi/src/portal/config.rs index 60fda8a..0e8667d 100644 --- a/crates/gpapi/src/portal/config.rs +++ b/crates/gpapi/src/portal/config.rs @@ -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());