Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
23f56984
Commit
23f56984
authored
Apr 15, 2013
by
Axilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed redis-cli check function
parent
b851bbfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+2
-4
No files found.
lib/tasks/gitlab/check.rake
View file @
23f56984
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment