Remove dead code
This commit is contained in:
parent
944d36fdba
commit
d9af197e62
7 changed files with 4 additions and 26 deletions
|
|
@ -56,7 +56,7 @@ func (n *NGINXController) Check(_ *http.Request) error {
|
|||
return errors.Wrapf(err, "reading NGINX PID from file %v", nginx.PID)
|
||||
}
|
||||
|
||||
_, err = fs.NewProc(pid)
|
||||
_, err = fs.Proc(pid)
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "checking for NGINX process with PID %v", pid)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue