From 7fe83f8087f033f957bb6e0eee5e0c159417e1cd Mon Sep 17 00:00:00 2001 From: "Alessandro (Ale) Segala" <43508+ItalyPaleAle@users.noreply.github.com> Date: Fri, 4 Jul 2025 19:14:44 -0700 Subject: [PATCH] fix: actually fix linter issues (#720) --- backend/internal/bootstrap/bootstrap.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/internal/bootstrap/bootstrap.go b/backend/internal/bootstrap/bootstrap.go index eb8f91f1..9fa4ab5e 100644 --- a/backend/internal/bootstrap/bootstrap.go +++ b/backend/internal/bootstrap/bootstrap.go @@ -56,12 +56,11 @@ 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. NewServiceRunner(shutdownFns...). - Run(shutdownCtx) + Run(shutdownCtx) //nolint:contextcheck if err != nil { log.Printf("Error shutting down services: %v", err) }