From 5e78e471ee2deb1b58d9405ab4d5f5008c87df05 Mon Sep 17 00:00:00 2001 From: Vaidas Jablonskis Date: Thu, 11 Aug 2016 21:57:38 +0300 Subject: [PATCH] Fix a typo in reserved build params --- server/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/build.go b/server/build.go index e2cbb3c5e..b7f805cdc 100644 --- a/server/build.go +++ b/server/build.go @@ -252,7 +252,7 @@ func PostBuild(c *gin.Context) { var buildParams = map[string]string{} for key, val := range c.Request.URL.Query() { switch key { - case "fork", "event", "deply_to": + case "fork", "event", "deploy_to": default: // We only accept string literals, because build parameters will be // injected as environment variables