Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-06-10 08:35:06 +0300
committerStan Hu <stanhu@gmail.com>2018-06-11 18:33:06 +0300
commit6defeb0a7d6928ad32d4d7a2fa35d0d71dbb9dea (patch)
tree1fb22e52bca3a7040df45415db2b8fd5cfb9a3ab /lib/tasks/import.rake
parentf646a8b9bc95fd6cecaa754f7dd0e8370c201502 (diff)
Expire Wiki content cache after importing a repository
The cache state for Wikis that were imported via GitHub or Bitbucket does not appear to have been flushed after a successful import. Closes #47546
Diffstat (limited to 'lib/tasks/import.rake')
-rw-r--r--lib/tasks/import.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/import.rake b/lib/tasks/import.rake
index aafbe52e5f8..0fd184d243f 100644
--- a/lib/tasks/import.rake
+++ b/lib/tasks/import.rake
@@ -50,7 +50,7 @@ class GithubImport
end
if import_success
- @project.import_finish
+ @project.after_import
puts "Import finished. Timings: #{timings}".color(:green)
else
puts "Import was not successful. Errors were as follows:"