Commit 23f56984 authored by Axilleas Pipinellis's avatar Axilleas Pipinellis

Fixed redis-cli check function

parent b851bbfa
......@@ -250,9 +250,7 @@ namespace :gitlab do
def check_redis_version
print "Redis version >= 2.0.0? ... "
redis_version = `redis-cli --version`
if redis_version =~ /redis-cli 2.\d.\d/
if run_and_match("redis-cli --version", /redis-cli 2.\d.\d/)
puts "yes".green
else
puts "no".red
......@@ -260,7 +258,7 @@ namespace :gitlab do
"Update your redis server to a version >= 2.0.0"
)
for_more_information(
"See the Troubleshooting guide"
"gitlab-public-wiki/wiki/Trouble-Shooting-Guide in section sidekiq"
)
fix_and_rerun
end
......
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