Commit 9a863145 authored by Douwe Maan's avatar Douwe Maan

Return true from GitlabPostReceive to ensure custom hooks run.

parent 926bef44
...@@ -16,7 +16,7 @@ class GitlabPostReceive ...@@ -16,7 +16,7 @@ class GitlabPostReceive
# get value from it # get value from it
ENV['GL_ID'] = nil ENV['GL_ID'] = nil
update_redis success = update_redis
begin begin
broadcast_message = GitlabNet.new.broadcast_message broadcast_message = GitlabNet.new.broadcast_message
...@@ -28,6 +28,8 @@ class GitlabPostReceive ...@@ -28,6 +28,8 @@ class GitlabPostReceive
rescue GitlabNet::ApiUnreachableError rescue GitlabNet::ApiUnreachableError
nil nil
end end
success
end end
protected protected
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment