Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Oct 16, 2024
1 parent 1e80113 commit 89176f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/erigon_node/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (c *NodeClient) FindProfile(ctx context.Context, profile string) ([]byte, e
return nil, fmt.Errorf("Error writing to temporary file: %v", err)
}

cmd := exec.Command("go", "tool", "pprof", "-dot", tempFile.Name())
cmd := exec.Command("go", "tool", "pprof", "-dot", tempFile.Name()) //nolint:gosec

Check failure on line 55 in internal/erigon_node/profile.go

View workflow job for this annotation

GitHub Actions / build

whyNoLint: include an explanation for nolint directive (gocritic)
svgOutput, err := cmd.Output()
if err != nil {
return nil, fmt.Errorf("Error generating SVG output: %v", err)
Expand Down

0 comments on commit 89176f1

Please sign in to comment.