Commit 89a2438a authored by Rémy Coutable's avatar Rémy Coutable

Fix wrong call to ProjectCacheWorker.perform

It's either ProjectCacheWorker#perform or
ProjectCacheWorker.perform_async!
Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent d4246054
---
title: Fix wrong call to ProjectCacheWorker.perform
merge_request: 8910
author:
......@@ -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)
......
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