Skip to content

Commit

Permalink
Merge pull request #3926 from parca-dev/fix-scrape
Browse files Browse the repository at this point in the history
pkg/scrape: Fix scraping without executable info
  • Loading branch information
brancz authored Oct 20, 2023
2 parents 5d44d4d + c844268 commit d2b3947
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 d2b3947

Please sign in to comment.