Skip to content

Commit

Permalink
pkg/scrape: Fix scraping without executable info
Browse files Browse the repository at this point in the history
  • Loading branch information
brancz committed Oct 20, 2023
1 parent 5d44d4d commit c844268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scrape/scrape.go
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ mainLoop:
continue
}

executableInfo := []*profilepb.ExecutableInfo{}
var executableInfo []*profilepb.ExecutableInfo
for _, comment := range p.Comments {
if strings.HasPrefix(comment, "executableInfo=") {
ei, err := parseExecutableInfo(comment)
Expand Down

0 comments on commit c844268

Please sign in to comment.