From 0bbb6759ce0aae3108f275ef33dae4695f1a2986 Mon Sep 17 00:00:00 2001 From: dolzhuying <1240800466@qq.com> Date: Sat, 12 Apr 2025 19:00:50 +0800 Subject: [PATCH] fix(bug):resolve get_runtime_config name tansferred but remaining (1.get_runtime_config structure rebuild 2.address got to be parse to get ip:port) --- crates/provider/src/handlers/function_get.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/provider/src/handlers/function_get.rs b/crates/provider/src/handlers/function_get.rs index b04121a..010a6d6 100644 --- a/crates/provider/src/handlers/function_get.rs +++ b/crates/provider/src/handlers/function_get.rs @@ -27,7 +27,7 @@ pub async fn get_function( namespace: &str, ) -> Result { let cid = function_name; - let ip = client.get_ip(cid).await.unwrap(); + let address = service.get_address(cid).await.unwrap_or_default(); let container = service .load_container(cid, namespace)