diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-03 13:46:14 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-03 13:46:14 +0300 |
commit | 3017109027b213c8c724f628fc34726fff7a403d (patch) | |
tree | 333531d5fc74d66eec4fbe1a5fb34fb2725f1d4d /lib/gitlab_access.rb | |
parent | 76f7f349669524809db2daa34d07d4af9b9e9544 (diff) | |
download | gitlab-shell-3017109027b213c8c724f628fc34726fff7a403d.tar.gz |
GitLab /api/allowed endpoint requires POST request
This commit made changes to GitLab shell to work with huge pushed (ex.
1k branhes) using POST request to API
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/gitlab_access.rb')
-rw-r--r-- | lib/gitlab_access.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_access.rb b/lib/gitlab_access.rb index 1f328b7..63c074b 100644 --- a/lib/gitlab_access.rb +++ b/lib/gitlab_access.rb @@ -21,7 +21,7 @@ class GitlabAccess else # reset GL_ID env since we stop git push here ENV['GL_ID'] = nil - puts "GitLab: You are not allowed to access #{@ref_name}!" + puts "GitLab: You are not allowed to access some of the refs!" exit 1 end end |