Skip to content

Commit 9af221d

Browse files
committed
Fix lint
1 parent 609eec4 commit 9af221d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/internal/debug/debug.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ func (g *BundleGenerator) addProf() (err error) {
498498
}
499499

500500
func (g *BundleGenerator) addCPUProfile() error {
501-
if g.cpuProfile == nil || len(g.cpuProfile) == 0 {
501+
if len(g.cpuProfile) == 0 {
502502
return nil
503503
}
504504

0 commit comments

Comments
 (0)