diff options
author | Valery Sizov <vsv2711@gmail.com> | 2014-11-24 13:58:07 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2014-11-24 13:58:07 +0200 |
commit | 961fe45c4210dcb1a69f167ac468991ad6998793 (patch) | |
tree | 484912f3b5b690c67080fd0b2d564c3dfb67924d /lib/gitlab_shell.rb | |
parent | f8453da5868dd7a23d0f2f3da7a45e33c441d1db (diff) | |
download | gitlab-shell-961fe45c4210dcb1a69f167ac468991ad6998793.tar.gz |
Revert "Revert "Merge branch 'git_hook_messages'""
This reverts commit f8453da5868dd7a23d0f2f3da7a45e33c441d1db.
Diffstat (limited to 'lib/gitlab_shell.rb')
-rw-r--r-- | lib/gitlab_shell.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index e2cb2cc..95fad9e 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -60,7 +60,7 @@ class GitlabShell end def validate_access - api.allowed?(@git_cmd, @repo_name, @key_id, '_any') + api.check_access(@git_cmd, @repo_name, @key_id, '_any').allowed? end # This method is not covered by Rspec because it ends the current Ruby process. |