From 7de2e80bd5090030936acfe306d973bcfa8f0640 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Wed, 12 Apr 2017 19:10:33 +0200 Subject: [PATCH] fix repo update to set gating status --- drone/repo_update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drone/repo_update.go b/drone/repo_update.go index 229e8e5c8..40c209c8f 100644 --- a/drone/repo_update.go +++ b/drone/repo_update.go @@ -48,7 +48,7 @@ func repoUpdate(c *cli.Context) error { config = c.String("config") timeout = c.Duration("timeout") trusted = c.Bool("trusted") - gated = c.Bool("trusted") + gated = c.Bool("gated") ) patch := new(model.RepoPatch)