diff options
| author | Mayra Cabrera <mcabrera@gitlab.com> | 2018-06-11 17:35:39 +0000 |
|---|---|---|
| committer | Mayra Cabrera <mcabrera@gitlab.com> | 2018-06-11 17:35:39 +0000 |
| commit | 421957cf8c9d5347a20d7a88f07a049622a631e0 (patch) | |
| tree | f0ee8e6681dcd56d5067a187d0af1aca7db9a6dc /lib | |
| parent | 87eb2b6e510af44ec905c183d9b886a46d223815 (diff) | |
| parent | 1756eea5316c9d1d4b6b8a9bb45d1d2425943f5c (diff) | |
| download | gitlab-ce-421957cf8c9d5347a20d7a88f07a049622a631e0.tar.gz | |
Merge branch 'sh-expire-content-cache-after-import' into 'master'
Expire Wiki content cache after importing a repository
Closes #47546
See merge request gitlab-org/gitlab-ce!19617
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/gitlab/github_import/sequential_importer.rb | 2 | ||||
| -rw-r--r-- | lib/tasks/import.rake | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/gitlab/github_import/sequential_importer.rb b/lib/gitlab/github_import/sequential_importer.rb index 3cad919b4eb..6a181caf65d 100644 --- a/lib/gitlab/github_import/sequential_importer.rb +++ b/lib/gitlab/github_import/sequential_importer.rb @@ -42,8 +42,6 @@ module Gitlab klass.new(project, client, parallel: false).execute end - project.repository.after_import - true end end 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:" |
