mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-26 10:20:29 +00:00
fixing syntax error
This commit is contained in:
parent
f7caf5f309
commit
177c3000b6
1 changed files with 2 additions and 2 deletions
|
@ -236,8 +236,8 @@ func PostBuild(c *gin.Context) {
|
|||
build.Started = 0
|
||||
build.Finished = 0
|
||||
build.Enqueued = time.Now().UTC().Unix()
|
||||
build.Event := c.DefaultQuery("event", build.Event)deploy_to
|
||||
build.Deploy := c.DefaultQuery("deploy_to", build.Deploy)
|
||||
build.Event = c.DefaultQuery("event", build.Event)
|
||||
build.Deploy = c.DefaultQuery("deploy_to", build.Deploy)
|
||||
for _, job := range jobs {
|
||||
job.Status = model.StatusPending
|
||||
job.Started = 0
|
||||
|
|
Loading…
Reference in a new issue