mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-08 18:34:59 +01:00
mcp: fix status() to not overwrite connected with failed (#3514)
This commit is contained in:
@@ -188,6 +188,7 @@ export namespace MCP {
|
|||||||
}
|
}
|
||||||
if (state.clients[key]) {
|
if (state.clients[key]) {
|
||||||
result[key] = "connected"
|
result[key] = "connected"
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
result[key] = "failed"
|
result[key] = "failed"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user