From 43f0114c579f7b5b32b372e09f46bcb2a9d7796e Mon Sep 17 00:00:00 2001 From: "Alessandro (Ale) Segala" <43508+ItalyPaleAle@users.noreply.github.com> Date: Fri, 4 Jul 2025 16:29:28 -0700 Subject: [PATCH] fix: linter issues (#719) --- backend/internal/bootstrap/bootstrap.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/internal/bootstrap/bootstrap.go b/backend/internal/bootstrap/bootstrap.go index ec878b8c..eb8f91f1 100644 --- a/backend/internal/bootstrap/bootstrap.go +++ b/backend/internal/bootstrap/bootstrap.go @@ -55,6 +55,8 @@ func Bootstrap(ctx context.Context) error { // Invoke all shutdown functions // We give these a timeout of 5s + // Note: we use a background context because the run context has been canceled already + // nolint:contextcheck shutdownCtx, shutdownCancel := context.WithTimeout(context.Background(), 5*time.Second) defer shutdownCancel() err = utils.