[router] fix service discovery and mcp ut (#10449)

This commit is contained in:
Simo Lin
2025-09-14 21:07:23 -07:00
committed by GitHub
parent 0549f21c60
commit 7eccbe992d
4 changed files with 25 additions and 86 deletions
+1 -1
View File
@@ -547,7 +547,7 @@ impl Router {
// Keep a clone for potential cleanup on retry
let worker_for_cleanup = if load_incremented {
Some(worker.clone_worker())
Some(worker.clone())
} else {
None
};