mirror of
https://github.com/goauthentik/authentik.git
synced 2026-08-30 18:51:39 -07:00
root: fix linting errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@@ -58,7 +58,10 @@ func (g *GoUnicorn) Start() error {
|
||||
return g.p.Run()
|
||||
}
|
||||
|
||||
func (g *GoUnicorn) Kill() error {
|
||||
func (g *GoUnicorn) Kill() {
|
||||
g.killed = true
|
||||
return g.p.Process.Kill()
|
||||
err := g.p.Process.Kill()
|
||||
if err != nil {
|
||||
g.log.WithError(err).Warning("failed to kill gunicorn")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user