From 3240a62c7b595803e94c7019048381d0c98c9e4b Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Wed, 16 Oct 2024 12:53:25 +0700 Subject: [PATCH] save --- internal/erigon_node/profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/erigon_node/profile.go b/internal/erigon_node/profile.go index 5b7829c..b89f084 100644 --- a/internal/erigon_node/profile.go +++ b/internal/erigon_node/profile.go @@ -52,7 +52,7 @@ func (c *NodeClient) FindProfile(ctx context.Context, profile string) ([]byte, e return nil, fmt.Errorf("writing to temporary file: %w", err) } - cmd := exec.Command("go", "tool", "pprof", "-dot", tempFile.Name()) //nolint:gosec i don't know how to fix gosec warning + cmd := exec.Command("go", "tool", "pprof", "-dot", tempFile.Name()) //nolint:gosec // i don't know how to fix gosec warning svgOutput, err := cmd.Output() if err != nil { return nil, fmt.Errorf("generating SVG output: %w", err)