New UpTo parameter to reduce grade accordingly
This commit is contained in:
parent
07ceb20d63
commit
f7da603dbe
2 changed files with 14 additions and 8 deletions
|
@ -470,7 +470,7 @@ func declareCallbacksRoutes(router *gin.RouterGroup) {
|
|||
return
|
||||
}
|
||||
|
||||
err = repo.fetchRepoTests(hook.BuildNumber, hook.Steps)
|
||||
err = hook.fetchRepoTests(repo)
|
||||
if err != nil {
|
||||
log.Printf("Unable to fetchRepoTests(%d): %s", hook.RepositoryId, err.Error())
|
||||
c.AbortWithStatusJSON(http.StatusInternalServerError, gin.H{"errmsg": "Unable to fetch tests results."})
|
||||
|
|
Reference in a new issue