mirror of
https://github.com/faas-rs/faasd-in-rust.git
synced 2025-06-21 22:33:25 +00:00
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)
This commit is contained in:
@ -27,7 +27,7 @@ pub async fn get_function(
|
|||||||
namespace: &str,
|
namespace: &str,
|
||||||
) -> Result<Function, FunctionError> {
|
) -> Result<Function, FunctionError> {
|
||||||
let cid = function_name;
|
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
|
let container = service
|
||||||
.load_container(cid, namespace)
|
.load_container(cid, namespace)
|
||||||
|
Reference in New Issue
Block a user