diff options
author | Rémy Coutable <remy@rymai.me> | 2017-01-31 17:37:31 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-01-31 17:42:33 +0100 |
commit | 89a2438ab44862b34ba1030761c27b37059389ca (patch) | |
tree | eaae34a80c87158dbfd5350dec93e3b11a2dce98 /lib/tasks | |
parent | d4246054b4604a4494b60fee9ca3235a3e659d05 (diff) | |
download | gitlab-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.rake | 2 |
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) |