Remove engine.Status and replace it with standard go error

Signed-off-by: Antonio Murdaca <me@runcom.ninja>
This commit is contained in:
Antonio Murdaca
2015-03-25 22:32:08 +01:00
parent 3d9cbf0e71
commit c79b9bab54
49 changed files with 525 additions and 566 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ func serveFd(addr string, job *engine.Job) error {
}
// Called through eng.Job("acceptconnections")
func AcceptConnections(job *engine.Job) engine.Status {
func AcceptConnections(job *engine.Job) error {
// Tell the init daemon we are accepting requests
go systemd.SdNotify("READY=1")
@@ -99,5 +99,5 @@ func AcceptConnections(job *engine.Job) engine.Status {
close(activationLock)
}
return engine.StatusOK
return nil
}