Skip to content
Snippets Groups Projects
Commit 23f56984 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Fixed redis-cli check function

parent b851bbfa
No related branches found
No related tags found
1 merge request!3602Added check_redis_version to check.rake
Loading
Loading
@@ -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
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment