Skip to content
Snippets Groups Projects
Verified Commit 0c90c49e authored by Dustin Collins's avatar Dustin Collins :three:
Browse files

Use gitlab_rb_config

parent e58b8ec0
No related branches found
No related tags found
Loading
This commit is part of merge request !4054. Comments created here will be created in the context of that merge request.
...@@ -164,7 +164,10 @@ class OmnibusHelper # rubocop:disable Style/MultilineIfModifier (disabled so we ...@@ -164,7 +164,10 @@ class OmnibusHelper # rubocop:disable Style/MultilineIfModifier (disabled so we
end end
def self.check_postgres def self.check_postgres
return if postgresql['version'].major.to_f >= '11'.to_f gitlab_rb_config = Gitlab['node'].normal
return unless gitlab_rb_config['gitlab']['postgresql']['version']
return if gitlab_rb_config['postgresql']['version'].split(".")[0].to_f >= '11'.to_f
LoggingHelper.warning(%q( LoggingHelper.warning(%q(
=== WARNING === === WARNING ===
......
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