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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
9a813b27
Commit
9a813b27
authored
Oct 27, 2016
by
Sean McGivern
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix_es_version_check' into 'master'
Proper ES version check See merge request !827
parents
c65f20ef
cbdec73f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+1
-1
No files found.
lib/tasks/gitlab/check.rake
View file @
9a813b27
...
...
@@ -991,7 +991,7 @@ namespace :gitlab do
version
=
client
.
info
[
"version"
][
"number"
]
# The version is greater or equal to 2.4.0
if
version
.
delete
(
'.'
).
to_i
>=
240
if
Gitlab
::
VersionInfo
.
parse
(
version
)
>=
Gitlab
::
VersionInfo
.
new
(
2
,
4
,
0
)
puts
"yes (
#{
version
}
)"
.
color
(
:green
)
else
puts
"no"
.
color
(
:red
)
...
...
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