summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-01-31 17:37:31 +0100
committerRémy Coutable <remy@rymai.me>2017-01-31 17:42:33 +0100
commit89a2438ab44862b34ba1030761c27b37059389ca (patch)
treeeaae34a80c87158dbfd5350dec93e3b11a2dce98 /lib/tasks
parentd4246054b4604a4494b60fee9ca3235a3e659d05 (diff)
downloadgitlab-ce-89a2438ab44862b34ba1030761c27b37059389ca.tar.gz
Fix wrong call to ProjectCacheWorker.perform27516-fix-wrong-call-to-project_cache_worker-method
It's either ProjectCacheWorker#perform or ProjectCacheWorker.perform_async! Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gitlab/import.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/import.rake b/lib/tasks/gitlab/import.rake
index a2eca74a3c8..036a9307ab5 100644
--- a/lib/tasks/gitlab/import.rake
+++ b/lib/tasks/gitlab/import.rake
@@ -63,7 +63,7 @@ namespace :gitlab do
if project.persisted?
puts " * Created #{project.name} (#{repo_path})".color(:green)
- ProjectCacheWorker.perform(project.id)
+ ProjectCacheWorker.perform_async(project.id)
else
puts " * Failed trying to create #{project.name} (#{repo_path})".color(:red)
puts " Errors: #{project.errors.messages}".color(:red)