Skip to content

Conversation

jkbzh
Copy link
Contributor

@jkbzh jkbzh commented Oct 31, 2014

Similar to #192 and not yet taken into account in #190

The update_redis method was missing a "return true" when the
operation is succesful. Without it, any custom post-receive
hooks that come after the call to GitlabPostReceive.exec.

I tested this change in a local copy and it fixes the issue.

Similar to #192 and not yet taken into account in #190

The update_redis method was missing a "return true" when the
operation is succesful.  Without it, any custom post-receive
hooks that come after the call to GitlabPostReceive.exec.

I tested this change in a local copy and it fixes the issue.
@@ -27,5 +27,6 @@ def update_redis
puts "GitLab: An unexpected error occurred (redis-cli returned #{$?.exitstatus})."
exit 1
end
return true

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant return detected.

@jkbzh
Copy link
Contributor Author

jkbzh commented Nov 6, 2014

merging this one into #190

@jkbzh jkbzh closed this Nov 6, 2014
maxlazio pushed a commit that referenced this pull request Jun 27, 2019
Add Makefile for easier building and testing

Closes #194

See merge request gitlab-org/gitlab-shell!310
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants