From 9c38245cb596ca691443f9c71992b05d500139dc Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Wed, 16 Oct 2024 12:52:07 +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 6df6fc0..5b7829c 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 + 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)