From ac6e4c899612135c18bc29ea12ab732a8f3bad05 Mon Sep 17 00:00:00 2001 From: Stefan Pfaffel Date: Sat, 4 Jan 2025 14:08:54 +0100 Subject: [PATCH] style: disable gosimple for log proxy --- app/uroot/uroot.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/uroot/uroot.go b/app/uroot/uroot.go index 58047fa..6bb64e3 100644 --- a/app/uroot/uroot.go +++ b/app/uroot/uroot.go @@ -63,6 +63,7 @@ func Exec(ctx context.Context, bin string, args []string) (*exec.Cmd, context.Co } if runtimeConfig.Get().ExecutionMode == runtimeConfig.EXECUTION_MODE_TRACE { + // nolint:gosimple go func() { <-ctx.Done() f, _ := os.Create("gk-syscalls-before-enforce.txt")