feat(backend): implement service monitor proto & connect it to http /agents
ci-agent / build (push) Has been cancelled
ci-agent / build (push) Has been cancelled
This commit is contained in:
@@ -82,7 +82,7 @@ func (self *JobsHandlers) AddJob(c *gin.Context) {
|
||||
return err
|
||||
}
|
||||
job, err := agent.WaitJob(jid)
|
||||
if err != nil && !errors.Is(err, &exec.ExitError{}) {
|
||||
if err != nil && !errors.As(err, &exec.ExitError{}) {
|
||||
return err
|
||||
}
|
||||
c.JSON(http.StatusCreated, AddJobOut{
|
||||
|
||||
Reference in New Issue
Block a user