Skip to content

Commit d1001a6

Browse files
committed
linter
1 parent 3485fbf commit d1001a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/nginxprocess/process.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ func convert(ctx context.Context, p *process.Process, o options) (*Process, erro
8282
}
8383

8484
if strings.HasPrefix(cmdLine, "nginx:") || strings.HasPrefix(cmdLine, "{nginx-debug} nginx:") {
85-
8685
var status string
8786
if o.loadStatus {
8887
flags, _ := p.StatusWithContext(ctx) // slow: shells out to ps
@@ -107,6 +106,7 @@ func convert(ctx context.Context, p *process.Process, o options) (*Process, erro
107106
Exe: exe,
108107
}, ctx.Err()
109108
}
109+
110110
return nil, errNotAnNginxProcess
111111
}
112112

0 commit comments

Comments
 (0)