[service] Make linter happy

This commit is contained in:
Daniel
2024-08-28 11:55:40 +02:00
parent 4b2e4f208f
commit 57e81fb6fb
4 changed files with 10 additions and 4 deletions

View File

@@ -196,6 +196,7 @@ manage:
workerMgr: s,
logger: s.ctx.logger,
}
//nolint:fatcontext // Every run gets a new context.
wCtx.ctx, wCtx.cancelCtx = context.WithCancel(s.ctx.ctx)
panicInfo, err := s.mgr.runWorker(wCtx, s.fn)