Follow extract config from atsebay.t-worker

This commit is contained in:
nemunaire 2022-09-13 22:36:29 +02:00
parent 2ccf2057de
commit 92f016f648
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ func declareAPIAuthRepositoriesRoutes(router *gin.RouterGroup) {
}
client := drone.NewClient(droneEndpoint, droneConfig)
result, err := client.Logs(tmp[0], tmp[1], nbuild, 1, 2)
result, err := client.Logs(tmp[0], tmp[1], nbuild, 1, 3)
if err != nil {
c.AbortWithStatusJSON(http.StatusNotFound, gin.H{"errmsg": "Unable to retrieve logs."})
return