Commit bef38d1c authored by Gabriel Mazetto's avatar Gabriel Mazetto

Use exit code when FDW table refresh fail so omnibus can detect it

parent de72b8a5
......@@ -66,7 +66,8 @@ namespace :geo do
Gitlab::Geo::GeoTasks.refresh_foreign_tables!
puts 'Done!'
else
puts "Warning: Cannot refresh foreign tables, there is no foreign server configured."
puts "Error: Cannot refresh foreign tables, there is no foreign server configured."
exit 1
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