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 3240a62 commit e358eba
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("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 //TODO: 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)
Expand Down

0 comments on commit e358eba

Please sign in to comment.