From c0119148d3272dff250ebd8da8d0ce810ecdfefe Mon Sep 17 00:00:00 2001 From: Jussi Maki Date: Tue, 26 May 2026 16:31:52 +0200 Subject: [PATCH] shell: Do not close health reporter Since 09dc693f91c173913172b19cf8f4113101aa2cec the health reporter for jobs are closed automatically. Remove the unnecessary Close() from the shell job that was shadowing the one from jobs. Signed-off-by: Jussi Maki --- shell/server.go | 1 - 1 file changed, 1 deletion(-) diff --git a/shell/server.go b/shell/server.go index f05ec0f..94d8429 100644 --- a/shell/server.go +++ b/shell/server.go @@ -102,7 +102,6 @@ func (sh shell) listener(ctx context.Context, health cell.Health) error { fmt.Sprintf("shell-%d", connID), func(ctx context.Context, h cell.Health) error { sh.handleConn(ctx, connID, conn) - h.Close() // remove from health list return nil })) }