Skip to content

Commit 4945555

Browse files
committed
Stop making server unhealthy
Signed-off-by: David Gageot <[email protected]>
1 parent 96c21b7 commit 4945555

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

cmd/docker-mcp/internal/gateway/run.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ func (g *Gateway) reloadConfiguration(ctx context.Context, mcpServer *server.MCP
196196
log(">", len(capabilities.Tools), "tools listed in", time.Since(startList))
197197

198198
// Update the server's capabilities.
199-
g.health.SetUnhealthy()
200199
mcpServer.SetTools(capabilities.Tools...)
201200
mcpServer.SetPrompts(capabilities.Prompts...)
202201
mcpServer.SetResources(capabilities.Resources...)

cmd/docker-mcp/internal/health/health.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,3 @@ func (h *State) IsHealthy() bool {
1313
func (h *State) SetHealthy() {
1414
h.healthy.Store(true)
1515
}
16-
17-
func (h *State) SetUnhealthy() {
18-
h.healthy.Store(false)
19-
}

0 commit comments

Comments
 (0)