fixing syntax error

This commit is contained in:
Jeff Storey 2016-03-27 19:12:57 -04:00
parent f7caf5f309
commit 177c3000b6

View file

@ -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