Commit 74660e2f authored by Gabriel Mazetto's avatar Gabriel Mazetto

Fix elasticsearch check logic

parent d0698978
...@@ -18,7 +18,13 @@ module SystemCheck ...@@ -18,7 +18,13 @@ module SystemCheck
end end
def check? def check?
current_version.major == 5 && (1..3).cover?(version.minor) self.class.current_version.major == 5 && (1..3).cover?(self.class.current_version.minor)
end
def show_error
for_more_information(
'doc/integration/elasticsearch.md'
)
end end
end end
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