mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-26 23:05:42 +00:00
fixing syntax error
This commit is contained in:
@@ -236,8 +236,8 @@ func PostBuild(c *gin.Context) {
|
|||||||
build.Started = 0
|
build.Started = 0
|
||||||
build.Finished = 0
|
build.Finished = 0
|
||||||
build.Enqueued = time.Now().UTC().Unix()
|
build.Enqueued = time.Now().UTC().Unix()
|
||||||
build.Event := c.DefaultQuery("event", build.Event)deploy_to
|
build.Event = c.DefaultQuery("event", build.Event)
|
||||||
build.Deploy := c.DefaultQuery("deploy_to", build.Deploy)
|
build.Deploy = c.DefaultQuery("deploy_to", build.Deploy)
|
||||||
for _, job := range jobs {
|
for _, job := range jobs {
|
||||||
job.Status = model.StatusPending
|
job.Status = model.StatusPending
|
||||||
job.Started = 0
|
job.Started = 0
|
||||||
|
Reference in New Issue
Block a user