Skip to content

Commit d2b3947

Browse files
authored
Merge pull request #3926 from parca-dev/fix-scrape
pkg/scrape: Fix scraping without executable info
2 parents 5d44d4d + c844268 commit d2b3947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/scrape/scrape.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ mainLoop:
502502
continue
503503
}
504504

505-
executableInfo := []*profilepb.ExecutableInfo{}
505+
var executableInfo []*profilepb.ExecutableInfo
506506
for _, comment := range p.Comments {
507507
if strings.HasPrefix(comment, "executableInfo=") {
508508
ei, err := parseExecutableInfo(comment)

0 commit comments

Comments
 (0)