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
path: root/lib/tasks
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-11-28 14:19:55 +0300
committerDouwe Maan <douwe@gitlab.com>2018-11-28 14:19:55 +0300
commit5e3076f2d7fdb8f077cf9d951e55ed9798bb197e (patch)
treeffe87433a86631da9eaea423f59d6dec535dc54f /lib/tasks
parent57d982733c41490214eb58e8fd639057daa7c2ba (diff)
parentbad26e2dab81239f3cb2e7e3ea76ba113415638c (diff)
Merge branch '50341-cleanup-useless-project-import-attributes' into 'master'
Removes all the irrelevant code and columns that were migrated from the Project… See merge request gitlab-org/gitlab-ce!21497
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/import.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/import.rake b/lib/tasks/import.rake
index a16d4c47273..f912f521dfb 100644
--- a/lib/tasks/import.rake
+++ b/lib/tasks/import.rake
@@ -42,7 +42,7 @@ class GithubImport
end
def import!
- @project.force_import_start
+ @project.import_state.force_start
import_success = false
@@ -57,7 +57,7 @@ class GithubImport
puts "Import finished. Timings: #{timings}".color(:green)
else
puts "Import was not successful. Errors were as follows:"
- puts @project.import_error
+ puts @project.import_state.last_error
end
end