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

This commit is contained in:
Simo Lin
2025-09-15 00:07:23 -04:00
committed by GitHub
parent 0549f21c60
commit 7eccbe992d
4 changed files with 25 additions and 86 deletions

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
};