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)