Improve message when database_geo.yml does not exists on geo.rake

parent 4573c47b
...@@ -41,7 +41,7 @@ namespace :geo do ...@@ -41,7 +41,7 @@ namespace :geo do
namespace :config do namespace :config do
task :check do task :check do
unless File.exist?(Rails.root.join('config/database_geo.yml')) unless File.exist?(Rails.root.join('config/database_geo.yml'))
abort('You should run these tasks only when GitLab Geo is enabled, and only if it is a secondary node') abort('You should run these tasks only when GitLab Geo is enabled.')
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