mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
mcp: fix status() to not overwrite connected with failed (#3514)
This commit is contained in:
parent
46ad456718
commit
5cc37c4ea0
1 changed files with 1 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ export namespace MCP {
|
|||
}
|
||||
if (state.clients[key]) {
|
||||
result[key] = "connected"
|
||||
continue
|
||||
}
|
||||
result[key] = "failed"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue