Skip to content

Commit 81d664b

Browse files
committed
Test if this breaks
1 parent d7ea276 commit 81d664b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pkg/phlaredb/symdb/resolver.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -273,11 +273,7 @@ func (r *Resolver) Pprof() (*googlev1.Profile, error) {
273273
return nil, err
274274
}
275275
if p == nil { // for consistency with the return value when using the merge path
276-
return &googlev1.Profile{
277-
SampleType: []*googlev1.ValueType{new(googlev1.ValueType)},
278-
PeriodType: new(googlev1.ValueType),
279-
StringTable: []string{""},
280-
}, nil
276+
return nil, nil
281277
}
282278
return p, nil
283279
}

0 commit comments

Comments
 (0)