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

Fixed redis-cli check function

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