Commit 2b7e11eb authored by Nick Thomas's avatar Nick Thomas

Use delete_all in the gitlab:elastic:clear_index_status rake task

parent a0734363
......@@ -100,7 +100,7 @@ namespace :gitlab do
desc "GitLab | Elasticsearch | Clear indexing status"
task clear_index_status: :environment do
IndexStatus.destroy_all
IndexStatus.delete_all
puts "Index status has been reset".color(:green)
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