diff options
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 95fad9e..e2cb2cc 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -60,7 +60,7 @@ class GitlabShell end def validate_access - api.check_access(@git_cmd, @repo_name, @key_id, '_any').allowed? + api.allowed?(@git_cmd, @repo_name, @key_id, '_any') end # This method is not covered by Rspec because it ends the current Ruby process. |