Unverified Commit 92885441 authored by Keyang Ru's avatar Keyang Ru Committed by GitHub
Browse files

[router] Fix type unmatch during validation (#12257)

parent 64cf868e
...@@ -204,7 +204,7 @@ impl StepExecutor for ValidateRegistrationStep { ...@@ -204,7 +204,7 @@ impl StepExecutor for ValidateRegistrationStep {
.ok_or_else(|| WorkflowError::ContextValueNotFound("mcp_server_config".to_string()))?; .ok_or_else(|| WorkflowError::ContextValueNotFound("mcp_server_config".to_string()))?;
let client_registered = context let client_registered = context
.get::<Arc<RunningService<RoleClient, ()>>>("mcp_client") .get::<RunningService<RoleClient, ()>>("mcp_client")
.is_some(); .is_some();
if client_registered { if client_registered {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment